nixvim icon indicating copy to clipboard operation
nixvim copied to clipboard

How do I lazy load vim plugins in `extraPlugins`?

Open fjij opened this issue 8 months ago • 3 comments

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?

fjij avatar Mar 27 '25 20:03 fjij