diff options
| author | triethyl <triethylammonium@pm.me> | 2025-08-30 11:08:35 -0400 |
|---|---|---|
| committer | triethyl <triethylammonium@pm.me> | 2025-08-30 11:08:35 -0400 |
| commit | a8b4e24f908452a23dc9b559948461e080a6ce22 (patch) | |
| tree | 2af3d2497dcc0a19e3a2d0afa42d55415ecc30a9 /pkgs/custom-neovim/config/lua/lsp.lua | |
| parent | a4de06f681ac3d1b9f57d40cc34da31c514d261b (diff) | |
neovim: misc changes and fixes
Diffstat (limited to 'pkgs/custom-neovim/config/lua/lsp.lua')
| -rw-r--r-- | pkgs/custom-neovim/config/lua/lsp.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/custom-neovim/config/lua/lsp.lua b/pkgs/custom-neovim/config/lua/lsp.lua index 68a4d3d..627b115 100644 --- a/pkgs/custom-neovim/config/lua/lsp.lua +++ b/pkgs/custom-neovim/config/lua/lsp.lua @@ -26,6 +26,14 @@ vim.lsp.config("marksman", { }) vim.lsp.enable("marksman") +-- Nixd LS +vim.lsp.config("nixd", { + cmd = { 'nixd' }, + filetypes = { 'nix' }, + root_markers = { 'flake.nix', '.git' }, +}) +vim.lsp.enable("nixd") + -- LSP Autocommands -- Disable semantic tokens to stop weird highlighting. |
