vimrc: coc_disable_startup_warning = 1

On Vim v8.2.0750 and older, coc.nvim adds a super annoying, unskippable
start up message.

This fixes that.
This commit is contained in:
Paul Stemmet 2022-08-18 14:51:05 +00:00
parent cd06580e00
commit 01e7d8349d
Signed by: Paul Stemmet
GPG Key ID: EDEA539F594E7E75
1 changed files with 3 additions and 0 deletions

3
vimrc
View File

@ -281,6 +281,9 @@ if has_key(plugs, 'coc.nvim') && executable("node")
let g:coc_global_extensions+=[ 'coc-markdownlint' ]
let g:coc_global_extensions+=[ 'coc-yaml' ]
" Required on Vim <= v8.2 installations to shut up annoying startup message
let g:coc_disable_startup_warning = 1
" Do action on current word
nmap <silent> <leader>. <Plug>(coc-codeaction-selected)w