From e949d035c57b7b3c27b7ca2a8fcd57aff7fe8cfa Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Sun, 7 Mar 2021 23:14:05 +0000 Subject: [PATCH] Only load coc.nvim when VIMCOC environment variable is set --- vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vimrc b/vimrc index 5a2b457..28629b7 100644 --- a/vimrc +++ b/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 ' to make sure tab is not mapped by