aboutsummaryrefslogtreecommitdiffstats
path: root/plugin
diff options
context:
space:
mode:
authorTeddy Wing2022-04-24 20:54:05 +0200
committerTeddy Wing2022-04-24 20:54:05 +0200
commitc75087d87e30825d645d4e920fa7420256eceecb (patch)
treee1d1fc64b6cbda63582467c97829130cbc5c15a4 /plugin
parent0450b1ab669afb0869ded1cb892f5ad44ecec029 (diff)
downloaddotvim-c75087d87e30825d645d4e920fa7420256eceecb.tar.bz2
plugin/go.vim: Disable 'vim-go' in Vim < 7.4
Diffstat (limited to 'plugin')
-rw-r--r--plugin/go.vim5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugin/go.vim b/plugin/go.vim
new file mode 100644
index 0000000..e9a48c5
--- /dev/null
+++ b/plugin/go.vim
@@ -0,0 +1,5 @@
+" The vim-go plugin uses Vimscript syntax that isn't valid below Vim 7.4.
+" Disable the plugin in earlier Vim versions.
+if v:version < 704
+ let g:go_loaded_install = 1
+endif