From 2de6e390c35411634198cc65099daeb983ffecb1 Mon Sep 17 00:00:00 2001 From: listout Date: Wed, 15 Sep 2021 00:10:08 +0530 Subject: using the ccls language server --- coc-settings.json | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'coc-settings.json') 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 + } + } + } } } -- cgit v1.2.3