chore: move out of useless nixos directory
This commit is contained in:
parent
f76bee6384
commit
ec6d839450
52 changed files with 0 additions and 0 deletions
32
nixvim/config/lsp.nix
Normal file
32
nixvim/config/lsp.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{
|
||||
plugins.lsp = {
|
||||
enable = true;
|
||||
inlayHints = true;
|
||||
servers = {
|
||||
nixd.enable = true;
|
||||
cssls.enable = true;
|
||||
html.enable = true;
|
||||
rust-analyzer = {
|
||||
enable = true;
|
||||
installRustc = true;
|
||||
installCargo = true;
|
||||
};
|
||||
bashls.enable = true;
|
||||
clangd.enable = true;
|
||||
};
|
||||
keymaps = {
|
||||
diagnostic = {
|
||||
"<C-n>" = "goto_next";
|
||||
"<C-p>" = "goto_prev";
|
||||
};
|
||||
lspBuf = {
|
||||
"K" = "hover";
|
||||
"gD" = "references";
|
||||
"gd" = "definition";
|
||||
"gi" = "implementation";
|
||||
"gt" = "type_definition";
|
||||
"<C-,>" = "code_action";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue