From 6eb65347a3bf745fd2b380ff3a0d17bfa086504a Mon Sep 17 00:00:00 2001 From: jopejoe1 Date: Fri, 29 Sep 2023 18:32:36 +0200 Subject: [PATCH] Add nvim --- modules/users/jopejoe1/home.nix | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/modules/users/jopejoe1/home.nix b/modules/users/jopejoe1/home.nix index a3a2125..83ac53c 100644 --- a/modules/users/jopejoe1/home.nix +++ b/modules/users/jopejoe1/home.nix @@ -286,5 +286,25 @@ in { }; }; }; + programs.neovim = { + enable = true; + defaultEditor = true; + extraPackages = with pkgs; [ + clang-tools + gcc + gopls + nixd + nodePackages.bash-language-server + nodePackages.vscode-langservers-extracted + nodePackages.yaml-language-server + python3Packages.python-lsp-server + shellcheck + ]; + + plugins = with pkgs.vimPlugins; [ + nvim-treesitter.withAllGrammars + nvim-lspconfig + ]; + }; }; }