nixvim(lsp): enable lsp & nixlang lsp server

This commit is contained in:
Khaïs COLIN 2024-07-27 15:44:48 +02:00
parent ea14e39241
commit 9e485bf5ff
3 changed files with 12 additions and 2 deletions

2
flake.lock generated
View file

@ -315,7 +315,7 @@
},
"locked": {
"lastModified": 1,
"narHash": "sha256-uROMzaBc8FFwhXwpWT2+Zmci8gvRCGzQc0wVwOGLcEs=",
"narHash": "sha256-0SJy0es1cOrwO73ew9nPJdZfjHFOPo3v/zflUVZZASE=",
"path": "./nixvim",
"type": "path"
},

View file

@ -9,7 +9,8 @@
./bufferline.nix
./lualine.nix
# language support
# language support & lsp
./lsp.nix
./nix.nix
];
}

9
nixvim/config/lsp.nix Normal file
View file

@ -0,0 +1,9 @@
{
plugins.lsp = {
enable = true;
inlayHints = true;
servers = {
nixd.enable = true;
};
};
}