diff --git a/home.nix b/home.nix index eba2a5c..c624938 100644 --- a/home.nix +++ b/home.nix @@ -61,6 +61,8 @@ programs.neovim = let + package = inputs.neovim-overlay.packages.${pkgs.system}.default; + nvim-treesitter = pkgs.vimPlugins.nvim-treesitter; treesitterWithGrammars = (nvim-treesitter.withPlugins (_: nvim-treesitter.allGrammars)); @@ -70,10 +72,9 @@ }; in { + inherit package; + enable = true; - package = inputs.neovim-overlay.packages.${pkgs.system}.default; - withNodeJs = true; - # extraConfig = ''vim.opt.runtimepath:append ("${treesitter-parsers}")''; extraLuaConfig = '' -- bootstrap lazy.nvim, LazyVim and your plugins require("config.lazy") @@ -82,15 +83,10 @@ vim.opt.runtimepath:append ("${treesitter-parsers}") ''; - extraPackages = with pkgs; [ - lua-language-server - rust-analyzer-unwrapped - nil - ]; - plugins = [ treesitterWithGrammars ]; + withNodeJs = true; }; # Let Home Manager install and manage itself.