diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2024-10-11 21:52:52 +0200 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2024-10-11 21:52:52 +0200 |
| commit | 307486d2a0983d5f2d3f866a0acad43dc8323166 (patch) | |
| tree | b61cfc6fd4a6e3e355e557a07ba6ebbbdea97389 /common/home/programs/nixvim/plugins/lsp.nix | |
| parent | cd2c10c424a3c0f041c8df63310fedba352f0108 (diff) | |
try more minimal nvim config
Diffstat (limited to 'common/home/programs/nixvim/plugins/lsp.nix')
| -rw-r--r-- | common/home/programs/nixvim/plugins/lsp.nix | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/common/home/programs/nixvim/plugins/lsp.nix b/common/home/programs/nixvim/plugins/lsp.nix deleted file mode 100644 index b60994e..0000000 --- a/common/home/programs/nixvim/plugins/lsp.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ pkgs, ... }: -{ - enable = true; - servers = { - - bashls = { - enable = true; - package = pkgs.unstable.bash-language-server; - }; - - clangd.enable = true; - - nixd = { - enable = true; - settings.formatting.command = [ "nixfmt" ]; - }; - - rust_analyzer = { - enable = true; - installCargo = true; - installRustc = true; - }; - - pyright.enable = true; - - ocamllsp = { - enable = true; - package = null; - cmd = [ "ocamllsp" ]; - }; - - zls = { - enable = true; - }; - }; - - keymaps.lspBuf = { - "gd" = "definition"; - "gD" = "references"; - "gt" = "type_definition"; - "gi" = "implementation"; - "K" = "hover"; - "<space>rn" = "rename"; - "<space>ca" = "code_action"; - "<space>f" = "format"; - }; -} |