From e56640efe743b45077f1580caa23a0f934b49770 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Wed, 22 Aug 2018 11:36:28 +1200 Subject: Add load guard to bindzone.vim syntax extensions --- vim/after/syntax/bindzone.vim | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'vim/after') diff --git a/vim/after/syntax/bindzone.vim b/vim/after/syntax/bindzone.vim index 19989995..cc50638c 100644 --- a/vim/after/syntax/bindzone.vim +++ b/vim/after/syntax/bindzone.vim @@ -1,3 +1,9 @@ +" Don't try to make these corrections if running 'compatible' or if the +" runtime files are too old +if &compatible || v:version < 700 + finish +endif + " Highlight TLSA and SSHFP records correctly " syn keyword zoneRRType contained TLSA SSHFP nextgroup=zoneRData skipwhite -- cgit v1.2.3