aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-07-06 22:52:24 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-07-06 22:54:26 +1200
commit8863b60fdbfbec6b356da426b32e9461e17f7b25 (patch)
treebfb80dfe4197f339fe6c72991604516cc47030e5 /vim/vimrc
parentRefine NZ vs US Vim spelling setup (diff)
downloaddotfiles-8863b60fdbfbec6b356da426b32e9461e17f7b25.tar.gz
dotfiles-8863b60fdbfbec6b356da426b32e9461e17f7b25.zip
Add case sensitivity flag to needed opers
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