mirror of
https://github.com/Dichgrem/DCGOS.git
synced 2025-12-17 03:31:59 -05:00
feat:add_nixvim
This commit is contained in:
24
home/nixvim/plugins/lsp/lsp.nix
Normal file
24
home/nixvim/plugins/lsp/lsp.nix
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
plugins = {
|
||||
lsp-signature.enable = true;
|
||||
|
||||
lsp = {
|
||||
enable = true;
|
||||
servers.typos_lsp.enable = true;
|
||||
keymaps.lspBuf = {
|
||||
"<c-k>" = "signature_help";
|
||||
"gi" = "implementation";
|
||||
};
|
||||
};
|
||||
lint.enable = true;
|
||||
};
|
||||
|
||||
keymaps = [
|
||||
{
|
||||
mode = "n";
|
||||
key = "<leader>cl";
|
||||
action = "<cmd>LspInfo<cr>";
|
||||
options.desc = "Lsp Info";
|
||||
}
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user