unposted: internal: zyodl.vim: Support glob qualifiers in example()'s

This commit is contained in:
Daniel Shahaf 2020-01-01 12:32:40 +00:00
parent 2b9419fd7e
commit b066ce22d0
2 changed files with 5 additions and 1 deletions

View file

@ -1,5 +1,8 @@
2020-01-07 Daniel Shahaf <danielsh@apache.org>
* unposted: Util/zyodl.vim: internal: zyodl.vim: Support glob
qualifiers in example()'s
* unposted: Util/zyodl.vim: internal: zyodl.vim: Support yodl
comments.

View file

@ -24,6 +24,7 @@
" COMMENT(foo var(foo) foo)
" comment(foo)
" example(print *.c+LPAR()#q:s/#%+LPAR()#b+RPAR()s+LPAR()*+RPAR().c/'S${match[1]}.C'/+RPAR())
" example(zargs -- **/*(.) -- ls -l)
" ifzman(zmanref(zshmisc))ifnzman(noderef(Redirection))
" LPAR()foo 42 foo+RPAR()
" chapter(foo (foo) foo)
@ -52,7 +53,7 @@ syn match zyodlSpecial "+\?\<\(LPAR\|RPAR\|PLUS\)()"
syn match zyodlNumber "\d\+"
syn region zyodlItem start="\<xitem(" end=")" contains=zyodlSpecial,@zyodlInline
syn region zyodlItem start="\<item(" end=")" contains=zyodlSpecial,@zyodlInline
syn region zyodlExample start="\<example(" end=")" contains=zyodlSpecial
syn region zyodlExample start="\<example(" end=")" contains=zyodlSpecial,zyodlParenthetical
syn region zyodlComment start="\<COMMENT(" end=")" contains=zyodlSpecial,@zyodlInline,zyodlParenthetical
" comment that gets output in generated texinfo/roff source
syn region zyodlComment start="\<comment(" end=")"