aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc.stub.vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-12-04 15:04:10 +1300
committerTom Ryder <tom@sanctum.geek.nz>2018-12-04 15:07:43 +1300
commitd2894162a1e6d1315a91d0e48677a6eb47ccaf7d (patch)
tree075732dd8e701300e2ca7ea8f1bc144a6515a48d /vim/vimrc.stub.vim
parentUse :help for 'keywordprg', junk tag binding (diff)
downloaddotfiles-d2894162a1e6d1315a91d0e48677a6eb47ccaf7d.tar.gz
dotfiles-d2894162a1e6d1315a91d0e48677a6eb47ccaf7d.zip
Use "stub .vimrc" method to dodge vim-tiny
Diffstat (limited to 'vim/vimrc.stub.vim')
-rw-r--r--vim/vimrc.stub.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/vim/vimrc.stub.vim b/vim/vimrc.stub.vim
new file mode 100644
index 00000000..51ca436a
--- /dev/null
+++ b/vim/vimrc.stub.vim
@@ -0,0 +1,4 @@
+" If we have Vim version >=7, and (implicitly) +eval, source real vimrc
+if v:version >= 700
+ runtime vimrc
+endif