nix-community.nixvim/tests/test-sources/plugins/lsp/language-servers/ccls.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

49 lines
1.1 KiB
Nix
Raw Normal View History

2023-06-15 11:20:36 +02:00
{
example = {
plugins.lsp = {
enable = true;
servers.ccls = {
enable = true;
initOptions = {
cache = {
directory = ".ccls-cache";
format = "binary";
retainInMemory = 1;
};
clang = {
extraArgs = [ ];
excludeArgs = [ "-frounding-math" ];
pathMappings = [ "/remote/>/host/" ];
resourceDir = "";
};
client = {
snippetSupport = true;
};
completion = {
placeholder = false;
detailedLabel = true;
filterAndSort = true;
};
compilationDatabaseDirectory = "out/release";
diagnostics = {
onOpen = 0;
onChange = 1000;
onSave = 0;
};
index = {
threads = 0;
comments = 2;
multiVersion = 0;
multiVersionBlacklist = [ "^/usr/include" ];
initialBlacklist = [ "." ];
onChange = false;
trackDependency = 2;
};
};
};
};
};
}