-
Notifications
You must be signed in to change notification settings - Fork 273
cquery
David Duarte edited this page Nov 19, 2017
·
14 revisions
CQuery is a Low-latency language server for large C++ code-bases, powered by libclang.
See https://github.com/jacobdufault/cquery#build-cquery
let g:LanguageClient_serverCommands = {
\ 'cpp': ['yourCQueryDirectory/build/app', '--language-server']
\ }
let g:LanguageClient_loadSettings = 1
Add in your project a file under .vim/settings.json
with this content
{
"initializationOptions": {
"cacheDirectory": "/tmp/cquery",
"resourceDirectory": "yourCQueryDirectory/clang_resource_dir"
}
}
Change cacheDirectory
according to your needs