aboutsummaryrefslogtreecommitdiff
path: root/vim/after/syntax/bindzone.vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim/after/syntax/bindzone.vim')
-rw-r--r--vim/after/syntax/bindzone.vim6
1 files changed, 6 insertions, 0 deletions
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
" <https://github.com/vim/vim/issues/220>
syn keyword zoneRRType contained TLSA SSHFP nextgroup=zoneRData skipwhite