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