Skip to content

Commit 6eafde1

Browse files
author
steve
committed
Incorporate OPENPGPKEY when editing DNS zone file used by Bind9
1 parent 6796e00 commit 6eafde1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

syntax/bindzone.vim

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
" Language: BIND zone files (RFC1035)
33
" Maintainer: Mathieu Arnold <mat@mat.cc>
44
" URL: https://github.com/Absolight/vim-bind
5-
" Last Change: Mon 2012-12-17 19:33:55 CET
5+
" Last Change: Mon 2020-09-13 16:50:13 UTC
66
"
77
" Based on an earlier version by Julian Mehnle, with heavy modifications.
88

@@ -122,6 +122,7 @@ endfunction
122122
syn keyword zoneRRType contained A nextgroup=zoneIPAddr skipwhite
123123
syn keyword zoneRRType contained AAAA nextgroup=zoneIP6Addr skipwhite
124124
syn keyword zoneRRType contained NS CNAME PTR DNAME nextgroup=zoneDomain skipwhite
125+
call s:createChain("OPENPGPKEY", ["zoneHex"])
125126
call s:createChain("MX", ["zoneNumber", "zoneDomain"])
126127
call s:createChain("SRV", ["zoneNumber", "zoneNumber", "zoneNumber", "zoneDomain"])
127128
call s:createChain("DS DLV TLSA NSEC3PARAM", ["zoneNumber", "zoneNumber", "zoneNumber", "zoneHex"])
@@ -136,7 +137,7 @@ syn keyword zoneRRType contained WKS HINFO RP
136137
\ AFSDB X25 ISDN RT NSAP NSAP-PTR SIG KEY PX GPOS LOC EID NIMLOC
137138
\ ATMA NAPTR KX CERT SINK OPT APL IPSECKEY
138139
\ DHCID HIP NINFO RKEY TALINK CDS SPF UINFO UID
139-
\ GID UNSPEC NID L32 L64 LP URI CAA TA
140+
\ GID UNSPEC NID L32 L64 LP URI CAA TA OPENPGPKEY
140141
\ nextgroup=zoneRData skipwhite
141142
syn match zoneRRType contained /\vTYPE\d+/ nextgroup=zoneUnknownType1 skipwhite
142143
hi def link zoneRRType Type

0 commit comments

Comments
 (0)