Initial commit
This commit is contained in:
24
modules/desktop/nvim/lsp.nix
Executable file
24
modules/desktop/nvim/lsp.nix
Executable file
@@ -0,0 +1,24 @@
|
||||
{ pkgs, ... }: {
|
||||
home.packages = with pkgs; [
|
||||
rust-analyzer
|
||||
pyright
|
||||
nixd
|
||||
lua-language-server
|
||||
nodePackages.typescript-language-server
|
||||
nodePackages.vscode-langservers-extracted
|
||||
gopls
|
||||
nimlsp
|
||||
clang-tools
|
||||
];
|
||||
|
||||
programs.neovim.plugins = with pkgs.vimPlugins; [
|
||||
{ plugin = nvim-lspconfig; type = "lua";
|
||||
config = ''require "nvim.lsp"''; }
|
||||
nvim-cmp
|
||||
luasnip
|
||||
cmp-nvim-lsp
|
||||
cmp_luasnip
|
||||
cmp-path
|
||||
cmp-buffer
|
||||
];
|
||||
}
|
Reference in New Issue
Block a user