diff options
Diffstat (limited to 'coc-settings.json')
-rw-r--r-- | coc-settings.json | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/coc-settings.json b/coc-settings.json index 2402405..9be1360 100644 --- a/coc-settings.json +++ b/coc-settings.json @@ -54,5 +54,32 @@ "markdown.pandoc": [ "tex" ] + }, + "languageserver": { + "ccls": { + "command": "ccls", + "filetypes": [ + "c", + "cc", + "cpp", + "c++", + "objc", + "objcpp" + ], + "rootPatterns": [ + ".ccls", + "compile_commands.json", + ".git/", + ".hg/" + ], + "initializationOptions": { + "cache": { + "directory": "/tmp/ccls" + }, + "highlight": { + "lsRanges": true + } + } + } } } |