Add ccls integration
This commit is contained in:
parent
db306d394a
commit
a2f362c499
|
@ -157,6 +157,16 @@ in {
|
||||||
"rootPatterns" = ["flake.nix"];
|
"rootPatterns" = ["flake.nix"];
|
||||||
"filetypes" = ["nix"];
|
"filetypes" = ["nix"];
|
||||||
};
|
};
|
||||||
|
"ccls" = {
|
||||||
|
"command" = "ccls";
|
||||||
|
"filetypes" = ["c" "cc" "cpp" "c++" "cobjc" "objcpp"];
|
||||||
|
"rootPatterns" = [".ccls" "compile_commands.json" ".git/"];
|
||||||
|
"initializationOptions" = {
|
||||||
|
"cache" = {
|
||||||
|
"directory" = "/tmp/ccls";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue