Add ccls integration

This commit is contained in:
Alejandro Angulo 2024-03-22 22:43:07 -07:00
parent db306d394a
commit a2f362c499
Signed by: alejandro-angulo
GPG key ID: 75579581C74554B6

View file

@ -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";
};
};
};
}; };
}; };