@@ -1073,8 +1073,8 @@ syn match named_E_SuffixDomain_SC contained /\<[0-9A-Za-z\._\-]{1,1023}[A-Za-z\.
1073
1073
" """"""""""""""""""""""""""""""""""""""""""""""""""""""""
1074
1074
" We'll do error RED highlighting on all statement firstly, then later on
1075
1075
" all the options, then all the clauses.
1076
- hi link namedStmtKeywordUnknown namedHL_Error
1077
- syn match namedStmtKeywordUnknown / \<\S\{ 1,64}\> /
1076
+ " hi link namedStmtKeywordUnknown namedHL_Error
1077
+ " syn match namedStmtKeywordUnknown /\<\S\{1,64}\>/
1078
1078
1079
1079
1080
1080
hi link namedInclude namedHL_Include
@@ -1127,8 +1127,8 @@ syn match namedA_KeyName contained
1127
1127
\ nextgroup= namedSemicolon
1128
1128
1129
1129
hi link namedA_Key namedHL_Option
1130
- syn keyword namedA_Key contained key skipwhite skipnl skipempty
1131
- \ nextgroup= namedA_KeyName
1130
+ syn match namedA_Key contained / \< key\> / skipwhite skipnl skipempty
1131
+ \ nextgroup= named_Keyname_SC
1132
1132
1133
1133
hi link namedA_AML_Nested_Semicolon namedHL_Type
1134
1134
syn match namedA_AML_Nested_Semicolon contained
@@ -2925,7 +2925,7 @@ syn keyword namedZ_Boolean_Group contained skipwhite
2925
2925
2926
2926
hi link namedZ_File namedHL_Option
2927
2927
syn keyword namedZ_File contained file skipwhite
2928
- \ nextgroup= named_String_QuoteForced
2928
+ \ nextgroup= named_String_QuoteForced_SC,namedNotString
2929
2929
2930
2930
hi link namedZ_InView namedHL_Option
2931
2931
syn keyword namedZ_InView contained in- view
@@ -5306,7 +5306,7 @@ syn keyword namedOVZ_OptATS contained
5306
5306
\ nextgroup= namedOptATS_IP4wild
5307
5307
5308
5308
hi link namedOVZ_AutoDNSSEC namedHL_Option
5309
- syn keyword namedOVZ_AutoDNSSEC contained auto- dnssec
5309
+ syn match namedOVZ_AutoDNSSEC contained / \< auto\ - dnssec\> /
5310
5310
\ skipwhite skipnl skipempty
5311
5311
\ nextgroup=
5312
5312
\ named_AllowMaintainOff,
@@ -5886,11 +5886,41 @@ syn region namedOSVZ_Masters_MML contained start=/{/ end=/}/
5886
5886
\ namedInclude,
5887
5887
\ namedComment
5888
5888
5889
+ " 'dscp' added after `also-notify` at 9.9
5890
+ hi link namedAlsoNotify_DscpNumber namedHL_Number
5891
+ syn match namedAlsoNotify_DscpNumber contained / 6[0-3]\| [0-5][0-9]\| [1-9]/
5892
+ \ skipwhite skipnl skipempty
5893
+ \ nextgroup=
5894
+ \ namedAlsoNotify_Port,
5895
+ \ namedOSVZ_Masters_MML
5896
+
5897
+ hi link namedAlsoNotify_Dscp namedHL_Option
5898
+ syn match namedAlsoNotify_Dscp contained skipwhite skipnl skipempty
5899
+ \ /\<dscp\>/
5900
+ \ nextgroup=
5901
+ \ namedAlsoNotify_DscpNumber
5902
+
5903
+ " 'port' added after `also-notify` at 9.9
5904
+ hi link namedAlsoNotify_PortNumber namedHL_Number
5905
+ syn match namedAlsoNotify_PortNumber contained
5906
+ \ /\%(6553[0-5]\)\|\%(655[0-2][0-9]\)\|\%(65[0-4][0-9][0-9]\)\|\%(6[0-4][0-9]\{3,3}\)\|\([1-5]\%([0-9]\{1,4}\)\)\|\%([0-9]\{1,4}\)/
5907
+ \ skipwhite skipnl skipempty
5908
+ \ nextgroup=
5909
+ \ namedAlsoNotify_Dscp,
5910
+ \ namedOSVZ_Masters_MML
5911
+
5912
+ hi link namedAlsoNotify_Port namedHL_Option
5913
+ syn match namedAlsoNotify_Port contained skipwhite skipnl skipempty
5914
+ \ /\<port\>/
5915
+ \ nextgroup= namedAlsoNotify_PortNumber
5916
+
5889
5917
hi link namedOSVZ_AlsoNotify namedHL_Option
5890
5918
" In 'server', `also-notify` is no longer valid after 9.13
5891
- syn keyword namedOSVZ_AlsoNotify contained skipwhite
5892
- \ also- notify
5919
+ syn match namedOSVZ_AlsoNotify contained skipwhite
5920
+ \ /\< also\ -notify\>/
5893
5921
\ nextgroup=
5922
+ \ namedAlsoNotify_Dscp,
5923
+ \ namedAlsoNotify_Port,
5894
5924
\ namedOSVZ_Masters_MML,
5895
5925
\ namedInclude,
5896
5926
\ namedComment,
0 commit comments