From 5f36c16ff56df4ac90ae18e3b4579d8832332ab2 Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Mon, 30 Sep 2013 09:40:46 +0200 Subject: [PATCH] Test if 'sign unplace *' is supported --- autoload/sy.vim | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/autoload/sy.vim b/autoload/sy.vim index 831d5d5..92e2c82 100644 --- a/autoload/sy.vim +++ b/autoload/sy.vim @@ -7,6 +7,13 @@ let b:autoloaded_sy = 1 " Init: values {{{1 let g:signify_sign_overwrite = get(g:, 'signify_sign_overwrite', 1) +if g:signify_sign_overwrite && (v:version < 703 || (v:version == 703 && !has('patch596'))) + echohl WarningMsg + echomsg 'signify: Vim is outdated. Sign overwriting will be disabled.' + echohl NONE + let g:signify_sign_overwrite = 0 +endif + let g:id_top = 0x100 let g:sy_cache = {}