Fix nvim detection for COC

This commit is contained in:
Anthony Rose 2021-05-08 18:46:49 +01:00
parent 7e1e068ff8
commit 0b9186db0f

2
vimrc
View file

@ -192,7 +192,7 @@ else
set signcolumn=yes
endif
if !empty($VIMCOC) && has("patch-8.1.1719") && (executable("nodejs") || executable("node"))
if !empty($VIMCOC) && (has("patch-8.1.1719") || has("nvim")) && (executable("nodejs") || executable("node"))
" Vim on Linux.
let g:coc_data_home = resolve("~/.vim/coc")
" Vim on Windows.