diff options
| author | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2025-12-13 23:45:45 +0530 |
|---|---|---|
| committer | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2025-12-13 23:45:45 +0530 |
| commit | f0a384027b7765597ab7a3410a65e25673aa4835 (patch) | |
| tree | 10ad5d651e6cce984fb644df71671614f77799cb /modules/tools/nixvim/plugins/lsp.nix | |
| parent | 80d9462da696d4143f63c5c0fdd29c3c799754b5 (diff) | |
| download | home-manager-config-f0a384027b7765597ab7a3410a65e25673aa4835.tar.gz home-manager-config-f0a384027b7765597ab7a3410a65e25673aa4835.zip | |
Added auto completion to nixvim
Diffstat (limited to 'modules/tools/nixvim/plugins/lsp.nix')
| -rw-r--r-- | modules/tools/nixvim/plugins/lsp.nix | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/modules/tools/nixvim/plugins/lsp.nix b/modules/tools/nixvim/plugins/lsp.nix new file mode 100644 index 0000000..be9cc15 --- /dev/null +++ b/modules/tools/nixvim/plugins/lsp.nix @@ -0,0 +1,44 @@ +{ config, lib, ... }: + +{ + config.programs.nixvim.plugins.lsp = lib.mkIf config.tools.nixvim.enable { + enable = true; + servers = { + nil_ls = { + enable = true; + }; + lua_ls = { + enable = true; + package = null; + }; + nixd = { + enable = true; + package = null; + }; + pyright = { + enable = true; + package = null; + }; + ts_ls = { + enable = true; + package = null; + }; + clangd = { + enable = true; + package = null; + }; + jsonls = { + enable = true; + package = null; + }; + yamlls = { + enable = true; + package = null; + }; + bash-language-server = { + enable = true; + package = null; + }; + }; + }; +} |
