nixvim(lsp): enable lsp & nixlang lsp server
This commit is contained in:
parent
ea14e39241
commit
9e485bf5ff
3 changed files with 12 additions and 2 deletions
2
flake.lock
generated
2
flake.lock
generated
|
|
@ -315,7 +315,7 @@
|
|||
},
|
||||
"locked": {
|
||||
"lastModified": 1,
|
||||
"narHash": "sha256-uROMzaBc8FFwhXwpWT2+Zmci8gvRCGzQc0wVwOGLcEs=",
|
||||
"narHash": "sha256-0SJy0es1cOrwO73ew9nPJdZfjHFOPo3v/zflUVZZASE=",
|
||||
"path": "./nixvim",
|
||||
"type": "path"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -9,7 +9,8 @@
|
|||
./bufferline.nix
|
||||
./lualine.nix
|
||||
|
||||
# language support
|
||||
# language support & lsp
|
||||
./lsp.nix
|
||||
./nix.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
9
nixvim/config/lsp.nix
Normal file
9
nixvim/config/lsp.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
plugins.lsp = {
|
||||
enable = true;
|
||||
inlayHints = true;
|
||||
servers = {
|
||||
nixd.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue