mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-06 02:11:33 +00:00
fix: lazy load avante.nvim plugin
This commit is contained in:
parent
f0fe0b0f62
commit
75fa8e22b6
1 changed files with 1 additions and 12 deletions
|
@ -21,23 +21,12 @@ in {
|
|||
package = avante-nvim;
|
||||
setupModule = "avante";
|
||||
inherit (cfg) setupOpts;
|
||||
after =
|
||||
/*
|
||||
lua
|
||||
*/
|
||||
''
|
||||
vim.opt.laststatus = 3
|
||||
'';
|
||||
event = ["DeferredUIEnter"];
|
||||
};
|
||||
};
|
||||
|
||||
treesitter.enable = true;
|
||||
|
||||
autocomplete.nvim-cmp = {
|
||||
sources = {"avante.nvim" = "[avante]";};
|
||||
sourcePlugins = ["avante-nvim"];
|
||||
};
|
||||
|
||||
languages.markdown.extensions.render-markdown-nvim.setupOpts.file_types = lib.mkAfter ["Avante"];
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue