diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-09 16:24:10 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-09 16:24:20 +1200 |
commit | f32d22cfc91fdf98cb63199dabf6167736d210e9 (patch) | |
tree | 1d0df9146c8149f5bef9c81ec37588f8d21f17a2 | |
parent | Handle special encoding with :scriptencoding (diff) | |
download | dotfiles-f32d22cfc91fdf98cb63199dabf6167736d210e9.tar.gz dotfiles-f32d22cfc91fdf98cb63199dabf6167736d210e9.zip |
Check MYVIM more completely before adding to &rtp
-rw-r--r-- | vim/vimrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -107,7 +107,7 @@ endif " to the first element of the default &runtimepath. If this is the case, " we'll slot it in, having already checked it for troublesome characters. " -if $MYVIM !=# runtimepath[0] +if $MYVIM !=# '' && len(runtimepath) > 0 && $MYVIM !=# runtimepath[0] set runtimepath^=$MYVIM endif |