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