diff --git a/nvim/coc-settings.json b/nvim/coc-settings.json new file mode 100644 index 0000000..077ffb6 --- /dev/null +++ b/nvim/coc-settings.json @@ -0,0 +1,18 @@ +{ + "languageserver": { + "ccls": { + "command": "ccls", + "filetypes": ["c", "cpp", "cuda", "objc", "objcpp"], + "rootPatterns": [".ccls-root", "compile_commands.json"], + "initializationOptions": { + "cache": { + "directory": ".ccls-cache" + }, + "client": { + "snippetSupport": true + } + } + } + } +} +