aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-12-04 15:53:01 +1300
committerTom Ryder <tom@sanctum.geek.nz>2018-12-04 15:53:01 +1300
commit3098a8222d8c2ae8938d3b3ad988f51f03af7d0e (patch)
tree2bf2468a5b43697790109fcd08912531f90ac5c4
parentMerge branch 'release/v3.0.0' (diff)
parentBump VERSION (hotfix) (diff)
downloaddotfiles-3098a8222d8c2ae8938d3b3ad988f51f03af7d0e.tar.gz
dotfiles-3098a8222d8c2ae8938d3b3ad988f51f03af7d0e.zip
Merge branch 'hotfix/v3.0.1'v3.0.1
* hotfix/v3.0.1: Block out local 'runtimepath' on bad Vims
-rw-r--r--VERSION4
-rw-r--r--vim/vimrc.stub.vim10
2 files changed, 12 insertions, 2 deletions
diff --git a/VERSION b/VERSION
index ddca6083..4d194420 100644
--- a/VERSION
+++ b/VERSION
@@ -1,2 +1,2 @@
-tejr dotfiles v3.0.0
-Tue Dec 4 02:08:39 UTC 2018
+tejr dotfiles v3.0.1
+Tue Dec 4 02:52:42 UTC 2018
diff --git a/vim/vimrc.stub.vim b/vim/vimrc.stub.vim
index 51ca436a..72c7f7e1 100644
--- a/vim/vimrc.stub.vim
+++ b/vim/vimrc.stub.vim
@@ -1,4 +1,14 @@
" If we have Vim version >=7, and (implicitly) +eval, source real vimrc
if v:version >= 700
runtime vimrc
+
+" If not, prevent Vim from using any part of our configuration
+else
+ if has('win32') || has('win64')
+ set runtimepath-=~/vimfiles
+ set runtimepath-=~/vimfiles/after
+ else
+ set runtimepath-=~/.vim
+ set runtimepath-=~/.vim/after
+ endif
endif