diff --git a/README.md b/README.md index cf613bd..ec47069 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,12 @@ Install `avante.nvim` using [lazy.nvim](https://github.com/folke/lazy.nvim): }, ft = { "markdown", "Avante" }, }, + --- For image pasting support + { + "HakonHarnes/img-clip.nvim", + event = "VeryLazy", + opts = {}, + } }, } ``` @@ -64,18 +70,6 @@ For Windows users, change the build command to the following: > If your neovim doesn't use LuaJIT, then change `build` to `make lua51`. By default running make will install luajit. > Avante.nvim will now requires cargo to build tiktoken_core from source. -> [!NOTE] -> -> Recommended **Neovim** options: -> -> ```lua -> -- views can only be fully collapsed with the global statusline -> vim.opt.laststatus = 3 -> -- Default splitting will cause your main splits to jump when opening an edgebar. -> -- To prevent this, set `splitkeep` to either `screen` or `topline`. -> vim.opt.splitkeep = "screen" -> ``` - > [!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 diff --git a/lua/avante/init.lua b/lua/avante/init.lua index 24ba944..a24ed35 100644 --- a/lua/avante/init.lua +++ b/lua/avante/init.lua @@ -225,9 +225,6 @@ function M.setup(opts) vim.cmd([[quit]]) end - -- use a global statusline - vim.opt.laststatus = 3 - ---PERF: we can still allow running require("avante").setup() multiple times to override config if users wish to ---but most of the other functionality will only be called once from lazy.nvim Config.setup(opts)