nixvim
nixvim copied to clipboard
How do I lazy load vim plugins in `extraPlugins`?
I have a lot of vim plugins that depend on filetype, and I want to lazy load them. However, I'm not sure where to specify lazy options within extraPlugins. Here is an example of what my extraPlugins looks like.
extraPlugins =
(with pkgs.vimPlugins; [
vim-rhubarb
vim-terraform
vim-hcl
vim-just
vim-elixir
vim-svelte
vim-fish
])
I'd like these to only load for their specific filetype. How would I add it?