Former-commit-id: 81ab14b256
This commit is contained in:
Hadi
2024-05-02 15:40:12 +02:00
parent 8e4d046365
commit fa0aa29974
86 changed files with 227 additions and 146 deletions

24
home/apps/nvim/lsp.nix Normal file
View File

@@ -0,0 +1,24 @@
{
programs.nixvim.plugins = {
lsp-format.enable = true;
lsp = {
enable = true;
servers = {
bashls.enable = true;
clangd.enable = true;
gopls.enable = true;
nixd.enable = true;
tailwindcss.enable = true;
html.enable = true;
svelte.enable = true;
};
keymaps.lspBuf = {
"gd" = "definition";
"gD" = "references";
"gt" = "type_definition";
"gi" = "implementation";
"K" = "hover";
};
};
};
}