vim:coc: Add C and shell language servers

This commit is contained in:
2020-11-08 03:22:45 +01:00
parent 51643beddf
commit a1b988838c

View File

@@ -5,6 +5,7 @@ let mapleader = "\<Space>"
" Auto completion " Auto completion
" needs vim >= 8.1.1719 to support features like popup and text property. " needs vim >= 8.1.1719 to support features like popup and text property.
if (has('patch-8.1.1719') || has('nvim')) if (has('patch-8.1.1719') || has('nvim'))
let g:coc_global_extensions = ['coc-clangd', 'coc-sh']
packadd! coc.nvim packadd! coc.nvim
source $XDG_CONFIG_HOME/vim/coc.nvim.vim source $XDG_CONFIG_HOME/vim/coc.nvim.vim
endif endif