From 0b9186db0f33fd0e55baf15f9cf3790b2fef3ef9 Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Sat, 8 May 2021 18:46:49 +0100 Subject: [PATCH] Fix nvim detection for COC --- vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vimrc b/vimrc index 064b422..7a2f600 100644 --- a/vimrc +++ b/vimrc @@ -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.