coc for vim
This commit is contained in:
parent
072228591e
commit
31c9d70d42
5 changed files with 60 additions and 25 deletions
20
.vim/coc-settings.json
Normal file
20
.vim/coc-settings.json
Normal 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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue