summaryrefslogtreecommitdiff
path: root/coc-settings.json
diff options
context:
space:
mode:
Diffstat (limited to 'coc-settings.json')
-rw-r--r--coc-settings.json27
1 files changed, 27 insertions, 0 deletions
diff --git a/coc-settings.json b/coc-settings.json
index 64e5cd0..395d32c 100644
--- a/coc-settings.json
+++ b/coc-settings.json
@@ -52,5 +52,32 @@
"markdown.pandoc": [
"tex"
]
+ },
+ "languageserver": {
+ "ccls": {
+ "command": "ccls",
+ "filetypes": [
+ "c",
+ "cpp",
+ "objc",
+ "objcpp",
+ "arduino"
+ ],
+ "rootPatterns": [
+ ".ccls",
+ "compile_commands.json",
+ ".vim/",
+ ".git/",
+ ".hg/"
+ ],
+ "initializationOptions": {
+ "cache": {
+ "directory": "/tmp/ccls"
+ },
+ "highlight": {
+ "lsRanges": true
+ }
+ }
+ }
}
}