aboutsummaryrefslogtreecommitdiff
path: root/vim/after
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-08-22 11:36:28 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-08-22 11:36:28 +1200
commite56640efe743b45077f1580caa23a0f934b49770 (patch)
tree4a0497bde80177a1e14ff7f9d7005d556e66d4a4 /vim/after
parentMerge branch 'release/v1.58.0' into develop (diff)
downloaddotfiles-e56640efe743b45077f1580caa23a0f934b49770.tar.gz
dotfiles-e56640efe743b45077f1580caa23a0f934b49770.zip
Add load guard to bindzone.vim syntax extensions
Diffstat (limited to 'vim/after')
-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