diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-24 16:05:19 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-24 16:05:19 +1200 |
commit | 13c31d581f9c8c9f0bd8c75a8da64a44545bf890 (patch) | |
tree | 2d09e06b2d92b771e31479918576c1d782fd43c6 /vim | |
parent | Adjust comment layout (diff) | |
download | dotfiles-13c31d581f9c8c9f0bd8c75a8da64a44545bf890.tar.gz dotfiles-13c31d581f9c8c9f0bd8c75a8da64a44545bf890.zip |
Use simple string check for 'runtimepath'
Diffstat (limited to 'vim')
-rw-r--r-- | vim/vimrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -158,7 +158,7 @@ if &ruler endif " Remove Debian's 'runtimepath' nonsense if present -if &runtimepath =~# '/var/lib/vim/addons' +if stridx(&runtimepath, '/var/lib/vim/addons') != -1 set runtimepath-=/var/lib/vim/addons set runtimepath-=/var/lib/vim/addons/after endif |