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 set signcolumn=yes
endif 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. " Vim on Linux.
let g:coc_data_home = resolve("~/.vim/coc") let g:coc_data_home = resolve("~/.vim/coc")
" Vim on Windows. " Vim on Windows.