Check for nodejs/node

This commit is contained in:
Anthony Rose 2020-10-30 20:29:16 +00:00
parent 9872e15a7f
commit b8f411fe26

2
vimrc
View file

@ -161,7 +161,7 @@ else
set signcolumn=yes set signcolumn=yes
endif endif
if has("patch-8.1.1719") && executable("nodejs") if has("patch-8.1.1719") && (executable("nodejs") || executable("node"))
packadd coc.nvim packadd coc.nvim
" Use tab for trigger completion with characters ahead and navigate. " Use tab for trigger completion with characters ahead and navigate.
" NOTE: Use command ':verbose imap <tab>' to make sure tab is not mapped by " NOTE: Use command ':verbose imap <tab>' to make sure tab is not mapped by