nixvim icon indicating copy to clipboard operation
nixvim copied to clipboard

how to lazy: plugins with submodules

Open jaskerv opened this issue 1 year ago • 0 comments

Hey all

I'm new to nix and nixvim. I'm trying to wrap my head around using plugins.lazy.plugins.

Can anyone show me how to use this with submodules ? I got something like this atm

 plugins = with pkgs.vimPlugins; [
      {
        pkg = telescope-nvim;
	    lazy = true;
      }
      ./bufferline.nix
    ];

while bufferline.nix:

{ pkgs, ... }: {
  pkg = pkgs.vimPlugins.bufferline-nvim;
}

its telling me error: attribute 'pkgs' missing. Any help would be appreciated!

jaskerv avatar Aug 21 '24 14:08 jaskerv