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 5109ce6c..7e2eb099 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -123,11 +123,11 @@ scriptencoding utf-8
" Otherwise, do it the other way around: the first path in the 'runtimepath'
" list becomes MYVIM.
"
-if exists('$MYVIM') && $MYVIM != ''
+if exists('$MYVIM') && $MYVIM !=# ''
execute 'set runtimepath^='.escape#Arg(
\ escape#Item(escape#Wild($MYVIM))
\)
-elseif &runtimepath != ''
+elseif &runtimepath !=# ''
let $MYVIM = split#Option(&runtimepath)[0]
endif