Files
nix-config/modules/programs/nixvim/_nixvim-config/plugins/lsp.nix
T
Weckyy702 dbc68e540f nixvim: Enable fugitive and emmet_ls
I was missing out on fugitive :^)
2026-05-06 23:14:46 +02:00

40 lines
818 B
Nix

{ ... }: {
dependencies.rust-analyzer.enable = true;
lsp = {
inlayHints.enable = true;
servers = {
"*" = {
config.capabilities.textDocument.semanticTokens.multilineTokenSupport = true;
config.root_markers = [
".git"
];
};
clangd = {
enable = true;
config.root_markers = [
"compile_commands.json"
];
};
rust_analyzer = {
enable = true;
};
rnix.enable = true;
basedpyright.enable = true;
emmet_ls.enable = true;
};
keymaps = [
{
key = "<leader>e";
action = "<cmd>lua vim.diagnostic.open_float()<CR>";
options.desc = "Open Diagnostics";
}
];
};
plugins.lspconfig.enable = true;
plugins.clangd-extensions.enable = true;
}