only make LSP programs available to nvim

closes #9
This commit is contained in:
Pim Kunis 2023-10-13 11:13:15 +02:00
parent 5c1cc4d75f
commit 9d62bfc350

View file

@ -2,20 +2,22 @@
{ {
config = { config = {
home.packages = with pkgs; [
nil
nodePackages.pyright
neofetch
gopls
terraform-ls
];
programs.neovim = { programs.neovim = {
enable = true; enable = true;
viAlias = true; viAlias = true;
vimAlias = true; vimAlias = true;
vimdiffAlias = true; vimdiffAlias = true;
defaultEditor = true; defaultEditor = true;
extraLuaConfig = builtins.readFile ./neovim.lua;
extraPackages = with pkgs; [
nil
nodePackages.pyright
neofetch
gopls
terraform-ls
];
plugins = with pkgs.vimPlugins; [ plugins = with pkgs.vimPlugins; [
nvim-lspconfig nvim-lspconfig
gruvbox-nvim gruvbox-nvim
@ -29,7 +31,6 @@
friendly-snippets friendly-snippets
neodev-nvim neodev-nvim
]; ];
extraLuaConfig = builtins.readFile ./neovim.lua;
}; };
programs.git.extraConfig.core.editor = "nvim"; programs.git.extraConfig.core.editor = "nvim";