coc for vim

This commit is contained in:
Barak Michener 2019-05-21 18:29:35 -07:00
parent 072228591e
commit 31c9d70d42
5 changed files with 60 additions and 25 deletions

20
.vim/coc-settings.json Normal file
View file

@ -0,0 +1,20 @@
{
"suggest.timeout": 5000,
"suggest.enablePreview": true,
"diagnostic.displayByAle": true,
"python.linting.flake8Enabled": true,
"python.jediEnabled": true,
"python.autoComplete.addBrackets": false,
"languageserver": {
"ccls": {
"command": "ccls",
"filetypes": ["c", "cc", "cpp", "cuda", "objc", "objcpp"],
"rootPatterns": [".ccls", "compile_commands.json", ".vim/", ".git/", ".hg/"],
"initializationOptions": {
"cache": {
"directory": ".ccls-cache"
}
}
}
}
}

View file

@ -419,3 +419,4 @@ hi DONE guifg=green guibg=NONE ctermfg=green ctermbg=NONE
"
hi deniteMatchedChar guifg=#FFFFFF guibg=#5F87FF ctermfg=15 ctermbg=27
hi link NormalFloat PmenuSel