mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +02:00
31 lines
616 B
Nix
31 lines
616 B
Nix
{
|
|
example = {
|
|
lsp.servers = {
|
|
"*".settings = {
|
|
enable = true;
|
|
root_markers = [ ".git" ];
|
|
capabilities.textDocument.semanticTokens = {
|
|
multilineTokenSupport = true;
|
|
};
|
|
};
|
|
luals.enable = true;
|
|
clangd = {
|
|
enable = true;
|
|
settings = {
|
|
cmd = [
|
|
"clangd"
|
|
"--background-index"
|
|
];
|
|
root_markers = [
|
|
"compile_commands.json"
|
|
"compile_flags.txt"
|
|
];
|
|
filetypes = [
|
|
"c"
|
|
"cpp"
|
|
];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|