diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-19 21:52:26 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-19 21:52:26 +1200 |
commit | 5f18dc59c17ec366f8c66dd52f8df0ac9b663ef9 (patch) | |
tree | e65afea370c9b620012dbbe7e2e0005c06fb6a53 /plugin | |
parent | Rename plugin and commands (diff) | |
download | vim-toggle-flags-5f18dc59c17ec366f8c66dd52f8df0ac9b663ef9.tar.gz vim-toggle-flags-5f18dc59c17ec366f8c66dd52f8df0ac9b663ef9.zip |
Backport to Vim 6.0, add version load guard
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/toggle_option_flags.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/toggle_option_flags.vim b/plugin/toggle_option_flags.vim index 1d396a3..4157164 100644 --- a/plugin/toggle_option_flags.vim +++ b/plugin/toggle_option_flags.vim @@ -8,7 +8,7 @@ if exists('g:loaded_toggle_flags') || &compatible finish endif -if !has('user_commands') +if !has('user_commands') || v:version < 600 finish endif let g:loaded_toggle_flags = 1 |