Skip to content

Commit 416b890

Browse files
committed
Fix NVIMRC_INSTALL conditional
1 parent a24fecc commit 416b890

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ You will need to exit Neovim manually with `:qa` after each step.
136136
137137
if filereadable($XDG_CONFIG_HOME . '/nvim/plugged/nvimrc/plugins.vim')
138138
source $XDG_CONFIG_HOME/nvim/plugged/nvimrc/plugins.vim
139-
if !$NVIMRC_INSTALL == 'true'
139+
if $NVIMRC_INSTALL != 'true'
140140
Plug 'makenew/nvimrc'
141141
endif
142142
else

install.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ call plug#begin(\$XDG_CONFIG_HOME . '/nvim/plugged')
8080
8181
if filereadable(\$XDG_CONFIG_HOME . '/nvim/plugged/nvimrc/plugins.vim')
8282
source \$XDG_CONFIG_HOME/nvim/plugged/nvimrc/plugins.vim
83-
if !\$NVIMRC_INSTALL == 'true'
83+
if \$NVIMRC_INSTALL != 'true'
8484
Plug '$repo'
8585
endif
8686
else

0 commit comments

Comments
 (0)