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