diff options
author | Teddy Wing | 2022-04-24 20:54:05 +0200 |
---|---|---|
committer | Teddy Wing | 2022-04-24 20:54:05 +0200 |
commit | c75087d87e30825d645d4e920fa7420256eceecb (patch) | |
tree | e1d1fc64b6cbda63582467c97829130cbc5c15a4 /plugin/go.vim | |
parent | 0450b1ab669afb0869ded1cb892f5ad44ecec029 (diff) | |
download | dotvim-c75087d87e30825d645d4e920fa7420256eceecb.tar.bz2 |
plugin/go.vim: Disable 'vim-go' in Vim < 7.4
Diffstat (limited to 'plugin/go.vim')
-rw-r--r-- | plugin/go.vim | 5 |
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 |