aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-06-09 02:37:53 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-06-09 02:37:53 +1200
commit66d3a5a6849a4f60fa62aa4fdfe823fdc06533fc (patch)
treee2e55b04e9cbe50978675b42690751ae276a1e7d
parentMerge branch 'release/v5.25.0' (diff)
downloaddotfiles-66d3a5a6849a4f60fa62aa4fdfe823fdc06533fc.tar.gz
dotfiles-66d3a5a6849a4f60fa62aa4fdfe823fdc06533fc.zip
Correct backwards runtime check
-rw-r--r--vim/vimrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/vimrc b/vim/vimrc
index ff6ac208..f05f6716 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -96,7 +96,7 @@ endif
" for that particular context, but it's not really worth the extra complexity
" for such a niche situation.
"
-if $MYVIM != '' || $MYVIM =~# '[*?[|;&<>\r\n,]'
+if $MYVIM ==# '' || $MYVIM =~# '[*?[|;&<>\r\n,]'
echoerr 'Illegal user runtime path, halting user init'
finish
endif