unposted: zyodl.vim: Highlight yodl continuation line marker

This commit is contained in:
Daniel Shahaf 2020-05-15 02:10:00 +00:00
parent fb1aa3fe1e
commit 8b32df6d4c
2 changed files with 7 additions and 0 deletions

View file

@ -1,5 +1,8 @@
2020-05-28 Daniel Shahaf <d.s@daniel.shahaf.name>
* unposted: Util/zyodl.vim: Highlight yodl continuation line
marker
* 45923 (with memory leak fixed, cf. 45924): Src/Modules/zprof.c,
Src/exec.c: zprof: Don't tally all anonymous functions as though
they were a single function named "(anon)".

View file

@ -74,6 +74,9 @@ syn keyword zyodlKeyword sitem nextgroup=zyodlSItemArg1
syn region zyodlSItemArg1 oneline start="(" end=")" contains=zyodlSpecial,@zyodlInline nextgroup=zyodlSItemArg2 contained
syn region zyodlSItemArg2 start="(" end=")" contains=zyodlSpecial,@zyodlInline contained skip="\w\@<!([^)]*)"
" Continuation lines
syn match zyodlLineJoiner /\\$/
syn keyword zyodlBullet itemiz conceal cchar=
syn match zyodlSpecial "\<DASH()-" conceal cchar=
syn match zyodlSpecial "+\?LPAR()" conceal cchar=(
@ -97,6 +100,7 @@ hi def link zyodlCond Conditional
hi def link zyodlRef Include
hi def link zyodlSItemArg1 Macro
hi def link zyodlSItemArg2 Underlined
hi def link zyodlLineJoiner Special
let b:current_syntax = "zyodl"
let &cpo = s:cpo_save