diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-07-06 22:52:24 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-07-06 22:54:26 +1200 |
commit | 8863b60fdbfbec6b356da426b32e9461e17f7b25 (patch) | |
tree | bfb80dfe4197f339fe6c72991604516cc47030e5 | |
parent | Refine NZ vs US Vim spelling setup (diff) | |
download | dotfiles-8863b60fdbfbec6b356da426b32e9461e17f7b25.tar.gz dotfiles-8863b60fdbfbec6b356da426b32e9461e17f7b25.zip |
Add case sensitivity flag to needed opers
-rw-r--r-- | vim/autoload/plugin.vim | 3 | ||||
-rw-r--r-- | vim/vimrc | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/vim/autoload/plugin.vim b/vim/autoload/plugin.vim index b6f3d974..68e3d54b 100644 --- a/vim/autoload/plugin.vim +++ b/vim/autoload/plugin.vim @@ -1,5 +1,4 @@ function! plugin#Ready(name) abort return &loadplugins - \ && globpath(&runtimepath, 'plugin/'.a:name.'.vim') != '' + \ && globpath(&runtimepath, 'plugin/'.a:name.'.vim') !=# '' endfunction - @@ -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 |