mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 16:39:00 +02:00
49 lines
1.1 KiB
Nix
49 lines
1.1 KiB
Nix
|
{
|
||
|
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;
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|