reorganize neovim hm

main
Zynh Ludwig 2024-05-29 15:58:08 -07:00
parent c06618330b
commit bcbf30fd2e
1 changed files with 5 additions and 9 deletions

View File

@ -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.