mirror of
https://github.com/Hizenberg469/environment-setup.git
synced 2026-04-19 21:12:23 +03:00
COC is always enabled
This commit is contained in:
5
my_vimrc
5
my_vimrc
@@ -280,7 +280,6 @@ command! ALEOff call s:ALEDisable()
|
|||||||
" COC.nvim
|
" COC.nvim
|
||||||
"+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
"+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||||
|
|
||||||
function! s:COCEnable() abort
|
|
||||||
let g:coc_global_extensions = ['coc-clangd']
|
let g:coc_global_extensions = ['coc-clangd']
|
||||||
let g:clangd_install_prefix = '/usr/'
|
let g:clangd_install_prefix = '/usr/'
|
||||||
let g:clangd_command = ['clangd',
|
let g:clangd_command = ['clangd',
|
||||||
@@ -300,9 +299,5 @@ function! s:show_documentation()
|
|||||||
endif
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
echo "COC enabled"
|
|
||||||
endfunction
|
|
||||||
|
|
||||||
command! COCOn call s:COCEnable()
|
|
||||||
|
|
||||||
" My vimrc end -- Hizenberg
|
" My vimrc end -- Hizenberg
|
||||||
|
|||||||
Reference in New Issue
Block a user