From 3547a66b7052ed0d4e985e53892197a9a81d27fa Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sun, 17 Jun 2018 22:51:45 +1200 Subject: Add version guard --- plugin/toggle_option_flags.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/toggle_option_flags.vim b/plugin/toggle_option_flags.vim index 1a639f4..0dad325 100644 --- a/plugin/toggle_option_flags.vim +++ b/plugin/toggle_option_flags.vim @@ -8,7 +8,7 @@ if exists('g:loaded_toggle_option_flags') || &compatible finish endif -if !has('user_commands') +if !has('user_commands') || v:version < 600 finish endif let g:loaded_toggle_option_flags = 1 -- cgit v1.2.3