chore: move out of useless nixos directory

This commit is contained in:
Khaïs COLIN 2024-08-26 13:38:20 +02:00
parent f76bee6384
commit ec6d839450
52 changed files with 0 additions and 0 deletions

32
nixvim/config/lsp.nix Normal file
View 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";
};
};
};
}