aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 71959b4d..4f98e844 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -130,7 +130,7 @@ endif
" :execute abstraction, but it's not really worth the extra complexity for
" such a niche situation.
"
-if stridx($MYVIM, ',') != -1
+if stridx($MYVIM, ',') >= 0
echoerr 'Illegal comma in user runtime path'
finish
endif
@@ -149,7 +149,7 @@ endif
"
" <https://github.com/vim/vim/releases/tag/v7.1.055>
"
-if stridx($MYVIM, '\') != -1
+if stridx($MYVIM, '\') >= 0
\ && (v:version < 701 || v:version == 701 && !has('patch55'))
echoerr 'Illegal backslash in user runtime path on Vim < v7.1.055'
finish