diff --git a/.config/nvim/coc-settings.json b/.config/nvim/coc-settings.json index 60250ee..dbf51b1 100644 --- a/.config/nvim/coc-settings.json +++ b/.config/nvim/coc-settings.json @@ -9,6 +9,14 @@ "filetypes": ["sh"], "ignoredRootPaths": ["~"] }, + "ccls": { + "command": "ccls", + "filetypes": ["c", "cpp", "objc", "objcpp"], + "rootPatterns": [".ccls", "compile_commands.json", ".vim/", ".git/", ".hg/"], + "initializationOptions": { + "cacheDirectory": "/tmp/ccls" + } + }, "dockerfile": { "command": "docker-langserver", "filetypes": ["dockerfile"],