runtime(bindzone): updated syntax file

Commit: 
https://github.com/vim/vim/commit/6e93689bde7321ce974ae99ec6c74efb08d78842
Author: Oskar Stenman <[email protected]>
Date:   Tue Aug 22 22:34:08 2023 +0200

    runtime(bindzone): updated syntax file
    
    - Add support for APL type in runtime/syntax/bindzone.vim
    - all values between 0- 4294967295 are valid serials
    
    closes: #9743
    closes: #8382
    
    Signed-off-by: Christian Brabandt <[email protected]>

diff --git a/runtime/syntax/bindzone.vim b/runtime/syntax/bindzone.vim
index fede3d97d..dce997490 100644
--- a/runtime/syntax/bindzone.vim
+++ b/runtime/syntax/bindzone.vim
@@ -33,7 +33,7 @@ syn match       zoneDomain      contained  
/[^[:space:]!"#$%&'()*+,\/:;<=>?@[\]\
 syn match       zoneSpecial     contained /^[@*.]\s/
 syn match       zoneTTL         contained 
/\s\@<=\d[0-9WwDdHhMmSs]*\(\s\|$\)\@=/ nextgroup=zoneClass,zoneRRType skipwhite
 syn keyword     zoneClass       contained IN CHAOS CH HS HESIOD 
nextgroup=zoneRRType,zoneTTL skipwhite
-syn keyword     zoneRRType      contained A AAAA CAA CERT CNAME DNAME DNSKEY 
DS HINFO LOC MX NAPTR NS NSEC NSEC3 NSEC3PARAM OPENPGPKEY PTR RP RRSIG SMIMEA 
SOA SPF SRV SSHFP TLSA TXT nextgroup=zoneRData skipwhite
+syn keyword     zoneRRType      contained A AAAA APL CAA CERT CNAME DNAME 
DNSKEY DS HINFO LOC MX NAPTR NS NSEC NSEC3 NSEC3PARAM OPENPGPKEY PTR RP RRSIG 
SMIMEA SOA SPF SRV SSHFP TLSA TXT nextgroup=zoneRData skipwhite
 syn match       zoneRData       contained /[^;]*/ 
contains=zoneDomain,zoneIPAddr,zoneIP6Addr,zoneText,zoneNumber,zoneParen,zoneUnknown
 
 syn match       zoneIPAddr      contained 
/\<[0-9]\{1,3}\(\.[0-9]\{1,3}\)\{,3}\>/
@@ -60,7 +60,7 @@ syn match       zoneIP6Addr     contained 
/\<\(\x\{1,4}:\)\{1,7}:\(\s\|;\|$\)\@=
 
 syn match       zoneText        contained /"\([^"\]\|\.\)*"\(\s\|;\|$\)\@=/
 syn match       zoneNumber      contained /\<[0-9]\+\(\s\|;\|$\)\@=/
-syn match       zoneSerial      contained /\<[0-9]\{9,10}\(\s\|;\|$\)\@=/
+syn match       zoneSerial      contained /\<[0-9]\{1,10}\(\s\|;\|$\)\@=/
 
 syn match       zoneErrParen    /)/
 syn region      zoneParen       contained start="(" end=")" 
contains=zoneSerial,zoneTTL,zoneNumber,zoneComment

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/E1qYYFL-00Dv0w-H8%40256bit.org.

Raspunde prin e-mail lui