diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-08-22 11:36:28 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-08-22 11:36:28 +1200 |
commit | e56640efe743b45077f1580caa23a0f934b49770 (patch) | |
tree | 4a0497bde80177a1e14ff7f9d7005d556e66d4a4 /vim/after/syntax/bindzone.vim | |
parent | Merge branch 'release/v1.58.0' into develop (diff) | |
download | dotfiles-e56640efe743b45077f1580caa23a0f934b49770.tar.gz dotfiles-e56640efe743b45077f1580caa23a0f934b49770.zip |
Add load guard to bindzone.vim syntax extensions
Diffstat (limited to 'vim/after/syntax/bindzone.vim')
-rw-r--r-- | vim/after/syntax/bindzone.vim | 6 |
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 |