1 Star 0 Fork 0

old_school_vim/vim-lsp-cxx-highlight

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
LanguageClient-register.vim 934 Bytes
一键复制 编辑 原始数据 按行查看 历史
" Configuration of LanguageClient-neovim to use cquery and ccls with
" ccls
" also see https://github.com/autozimu/LanguageClient-neovim/wiki/ccls
let s:ccls_settings = {
\ 'highlight': { 'lsRanges' : v:true },
\ }
let s:ccls_command = ['ccls', '-init=' . json_encode(s:ccls_settings)]
let g:LanguageClient_serverCommands = {
\ 'c': s:ccls_command,
\ 'cpp': s:ccls_command,
\ 'objc': s:ccls_command,
\ }
" cquery
" also see https://github.com/autozimu/LanguageClient-neovim/wiki/cquery
let s:cquery_settings = {
\ 'cacheDirectory': '/var/cquery/',
\ 'emitInactiveRegions': v:true,
\ 'highlight': { 'enabled' : v:true },
\ }
let s:cquery_command = ['cquery', '-init=' . json_encode(s:cquery_settings)]
let g:LanguageClient_serverCommands = {
\ 'c': s:cquery_command,
\ 'cpp': s:cquery_command,
\ 'objc': s:cquery_command,
\ }
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/old_school_vim/vim-lsp-cxx-highlight.git
git@gitee.com:old_school_vim/vim-lsp-cxx-highlight.git
old_school_vim
vim-lsp-cxx-highlight
vim-lsp-cxx-highlight
master

搜索帮助