diff --git a/README.md b/README.md index 726ab01..f94eaa3 100644 --- a/README.md +++ b/README.md @@ -130,7 +130,7 @@ add({ 'MunifTanjim/nui.nvim', 'echasnovski/mini.icons' }, - hooks = { post_checkout = function() vim.cmd('AvanteBuild source=false') end } + hooks = { post_checkout = function() vim.cmd('make') end } }) --- optional add({ source = 'zbirenbaum/copilot.lua' }) @@ -169,10 +169,7 @@ require('avante').setup ({ }) ``` -> [!IMPORTANT] -> -> For `avante.tokenizers` and templates to work, make sure to call `require('avante_lib').load()` somewhere when entering the editor. -> We will leave the users to decide where it fits to do this, as this varies among configurations. (But we do recommend running this after where you set your colorscheme) +**NOTE**: For avante.tokenizers and templates to work, make sure to call require('avante_lib').load() somewhere when entering the editor. We will leave the users to decide where it fits to do this, as this varies among configurations. (But we do recommend running this after where you set your colorscheme) @@ -189,19 +186,6 @@ require('avante').setup ({ > vim.opt.laststatus = 3 > ``` -> [!NOTE] -> -> `render-markdown.nvim` is an optional dependency that is used to render the markdown content of the chat history. Make sure to also include `Avante` as a filetype -> to its setup (e.g. via Lazy): -> -> ```lua -> { -> "MeanderingProgrammer/render-markdown.nvim", -> opts = { file_types = { "markdown", "Avante" } }, -> ft = { "markdown", "Avante" }, -> } -> ``` - > [!TIP] > > Any rendering plugins that support markdown should work with Avante as long as you add the supported filetype `Avante`. See https://github.com/yetone/avante.nvim/issues/175 and [this comment](https://github.com/yetone/avante.nvim/issues/175#issuecomment-2313749363) for more information. diff --git a/lua/avante/llm.lua b/lua/avante/llm.lua index 8b31d30..dbf9e23 100644 --- a/lua/avante/llm.lua +++ b/lua/avante/llm.lua @@ -181,7 +181,7 @@ M.stream = function(opts) if Config.options[Config.provider] == nil and Provider.parse_stream_data ~= nil then if Provider.parse_response ~= nil then Utils.warn( - "parse_stream_data and parse_response_data are mutually exclusive, and thus parse_response_data will be ignored. Make sure that you handle the incoming data correctly.", + "parse_stream_data and parse_response are mutually exclusive, and thus parse_response will be ignored. Make sure that you handle the incoming data correctly.", { once = true } ) end