Nvim : Add nixd lsp.

This commit is contained in:
Dmitry Voronin 2024-04-04 12:17:33 +03:00
parent 16e3faac54
commit 17d69bd019
4 changed files with 8 additions and 3 deletions

View file

@ -171,7 +171,7 @@
const = self.nixosModules.const; const = self.nixosModules.const;
flake = self; flake = self;
inputs = inputs; inputs = inputs;
style = self.style; # style = self.style;
wallpaper = self.wallpaper { pkgs = nixpkgs.legacyPackages.${system}.pkgs; }; wallpaper = self.wallpaper { pkgs = nixpkgs.legacyPackages.${system}.pkgs; };
}; };
}; };
@ -285,7 +285,7 @@
const = self.nixosModules.const; const = self.nixosModules.const;
flake = self; flake = self;
inputs = inputs; inputs = inputs;
style = self.style { config = config; }; # style = self.style { config = config; };
}; };
}; };
}; };

View file

@ -20,6 +20,7 @@
lsof lsof
ltex-ls ltex-ls
neofetch neofetch
nixd
nmap nmap
parallel parallel
parted parted

View file

@ -60,6 +60,7 @@ in {
"plugin/lsp/Haskell.lua" "plugin/lsp/Haskell.lua"
"plugin/lsp/Rust.lua" "plugin/lsp/Rust.lua"
"plugin/lsp/Tex.lua" "plugin/lsp/Tex.lua"
"plugin/lsp/Nix.lua"
"key/Autocomplete.lua" "key/Autocomplete.lua"
"key/Buffer.lua" "key/Buffer.lua"
"key/Colorscheme.lua" "key/Colorscheme.lua"

View file

@ -0,0 +1,3 @@
local lspconfig = require("lspconfig")
lspconfig.nixd.setup {}