Vim: coc: Switch to clangd + syntax highlight
This commit is contained in:
@@ -1,16 +1,7 @@
|
||||
{
|
||||
"diagnostic.checkCurrentLine": true,
|
||||
"diagnostic.joinMessageLines": true,
|
||||
"languageserver": {
|
||||
"ccls": {
|
||||
"command": "ccls",
|
||||
"filetypes": ["c", "cpp", "objc", "objcpp"],
|
||||
"rootPatterns": [".ccls", "compile_commands.json", ".vim/", ".git/", ".hg/"],
|
||||
"initializationOptions": {
|
||||
"cache": {
|
||||
"directory": "/tmp/ccls"
|
||||
}
|
||||
}
|
||||
}
|
||||
"clangd": {
|
||||
"semanticHighlighting": true
|
||||
}
|
||||
}
|
||||
|
||||
@@ -30,6 +30,7 @@ Plugin 'VundleVim/Vundle.vim'
|
||||
"Plugin 'lyuts/vim-rtags'
|
||||
"Plugin 'JBakamovic/cxxd-vim'
|
||||
Plugin 'neoclide/coc.nvim'
|
||||
Plugin 'jackguo380/vim-lsp-cxx-highlight'
|
||||
" }}}
|
||||
|
||||
" Mappings {{{
|
||||
|
||||
Reference in New Issue
Block a user