Skip to content

Commit 7ac3e5a

Browse files
author
egberts
committed
for 'tkey-gssapi-keytab' "identifier", highlight as a filespec
1 parent 205d46a commit 7ac3e5a

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

syntax/bind-named.vim

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2725,6 +2725,17 @@ syn keyword namedO_TkeyDhkey contained skipwhite skipnl skipempty
27252725
\ nextgroup=
27262726
\ namedO_TkeyDhkeyName
27272727

2728+
hi link namedO_TkeyFilespec namedHL_Filespec
2729+
syn match namedO_TkeyFilespec contained skipwhite skipempty skipnl
2730+
\ /'[ a-zA-Z\]\-\[0-9\._,:;\\/?<>|"`~!@#$%\^&*\\(\\)+{}]\{1,1024}'/hs=s+1,he=e-1
2731+
\ nextgroup=namedSemicolon
2732+
syn match namedO_TkeyFilespec contained skipwhite skipempty skipnl
2733+
\ /"[ a-zA-Z\]\-\[0-9\._,:;\\/?<>|'`~!@#$%\^&*\\(\\)+{}]\{1,1024}"/hs=s+1,he=e-1
2734+
\ nextgroup=namedSemicolon
2735+
syn match namedO_Filespec contained skipwhite skipempty skipnl
2736+
\ /[a-zA-Z\]\-\[0-9\._,:\\/?<>|'"`~!@#$%\^&*\\(\\)+]\{1,1024}/
2737+
\ nextgroup=namedSemicolon
2738+
27282739
hi link namedO_TkeyDomainName namedHL_String
27292740
syn match namedO_TkeyDomainName contained skipwhite skipempty skipnl
27302741
\ /'[ a-zA-Z\]\-\[0-9\._,:;\\/?<>|"`~!@#$%\^&*\\(\\)+{}]\{1,1024}'/hs=s+1,he=e-1
@@ -2752,7 +2763,7 @@ hi link namedO_TkeyGSSAPIKeytab namedHL_Option
27522763
syn keyword namedO_TkeyGSSAPIKeytab contained skipwhite skipnl skipempty
27532764
\ tkey-gssapi-keytab
27542765
\ nextgroup=
2755-
\ namedO_TkeyDomainName
2766+
\ namedO_TkeyFilespec
27562767

27572768
hi link namedO_Version namedHL_Option
27582769
syn keyword namedO_Version contained skipwhite skipnl skipempty

0 commit comments

Comments
 (0)