mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-15 11:44:32 +02:00
tests/lsp: move language server tests to separate folder
This commit is contained in:
parent
0a294ad931
commit
d57c962d6e
4 changed files with 0 additions and 0 deletions
48
tests/test-sources/plugins/lsp/language-servers/ccls.nix
Normal file
48
tests/test-sources/plugins/lsp/language-servers/ccls.nix
Normal file
|
@ -0,0 +1,48 @@
|
|||
{
|
||||
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;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue