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,7 +2,15 @@
{
config = {
home.packages = with pkgs; [
programs.neovim = {
enable = true;
viAlias = true;
vimAlias = true;
vimdiffAlias = true;
defaultEditor = true;
extraLuaConfig = builtins.readFile ./neovim.lua;
extraPackages = with pkgs; [
nil
nodePackages.pyright
neofetch
@ -10,12 +18,6 @@
terraform-ls
];
programs.neovim = {
enable = true;
viAlias = true;
vimAlias = true;
vimdiffAlias = true;
defaultEditor = true;
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";