Only load coc.nvim when VIMCOC environment variable is set
This commit is contained in:
parent
5bdd9c80d5
commit
e949d035c5
1 changed files with 1 additions and 1 deletions
2
vimrc
2
vimrc
|
@ -163,7 +163,7 @@ else
|
|||
set signcolumn=yes
|
||||
endif
|
||||
|
||||
if has("patch-8.1.1719") && (executable("nodejs") || executable("node"))
|
||||
if !empty($VIMCOC) && has("patch-8.1.1719") && (executable("nodejs") || executable("node"))
|
||||
packadd coc.nvim
|
||||
" Use tab for trigger completion with characters ahead and navigate.
|
||||
" NOTE: Use command ':verbose imap <tab>' to make sure tab is not mapped by
|
||||
|
|
Loading…
Reference in a new issue