Skip to content

Commit f33265d

Browse files
author
steve
committed
Both 'query-source-v6' and 'listen-on-v6' also suffered
the numeric in Vim identifier (not Bind identifier). Replaced the Vim 'keyword' with 'match' and regexize the pattern match.
1 parent 418a95d commit f33265d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

syntax/bind-named.vim

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2166,9 +2166,9 @@ syn keyword namedO_ListenOn_Port contained port skipwhite skipnl skipempty
21662166
\ nextgroup=namedO_ListenOn_PortValue
21672167

21682168
hi link namedO_ListenOn namedHL_Option
2169-
syn keyword namedO_ListenOn contained skipwhite skipnl skipempty
2170-
\ listen-on
2171-
\ listen-on-v6
2169+
syn match namedO_ListenOn contained
2170+
\ /\<\(listen\-on\-v6\)\|\(listen\-on\)\>/
2171+
\ skipwhite skipnl skipempty
21722172
\ nextgroup=
21732173
\ namedO_ListenOn_Port,
21742174
\ namedO_ListenOn_Dscp,
@@ -3039,9 +3039,9 @@ syn keyword namedOSV_QuerySource_Address6 contained address
30393039
\ nextgroup=namedOSV_QuerySource_IP6Addr
30403040

30413041
hi link namedOSV_QuerySourceIP6 namedHL_Option
3042-
syn keyword namedOSV_QuerySourceIP6 contained
3042+
syn match namedOSV_QuerySourceIP6 contained
3043+
\ /\<query\-source\-v6\>/
30433044
\ skipwhite skipnl skipempty
3044-
\ query-source-v6
30453045
\ nextgroup=
30463046
\ namedOSV_QuerySource_Address6,
30473047
\ namedOSV_QuerySource_IP6Addr,

0 commit comments

Comments
 (0)