[vim] added coc-go

This commit is contained in:
Dmitry Chumak
2024-07-13 20:02:44 +03:00
parent 84c92e76a2
commit 9b60dd3c82

View File

@@ -176,9 +176,9 @@ let g:ansible_yamlKeyName = 'yamlKey'
"
" CoC plugin settings
"
let g:coc_global_extensions = ['coc-pyright', 'coc-sh']
let g:coc_global_extensions = ['coc-pyright', 'coc-sh', 'coc-go']
function! s:enable_coc_for_type()
let l:filesuffix_whitelist = ['py', 'sh']
let l:filesuffix_whitelist = ['py', 'sh', 'go']
if index(l:filesuffix_whitelist, expand('%:e')) == -1
let b:coc_enabled = 0
endif