Allow for chnages in to g:coc_global_extensions

This commit is contained in:
André Stemmet 2020-07-16 10:14:58 +00:00 committed by GitHub
parent 0f65a8e0ac
commit 57c50a8ddd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

4
vimrc
View File

@ -179,7 +179,9 @@ augroup END
" Set bindings for coc.nvim
if has_key(plugs, 'coc.nvim')
let g:coc_global_extensions=[]
if !exists("g:coc_global_extensions")
let g:coc_global_extensions=[]
endif
let g:coc_global_extensions+=[ 'coc-yank' ]
let g:coc_global_extensions+=[ 'coc-spell-checker' ]
let g:coc_global_extensions+=[ 'coc-actions' ]