mirror of
https://github.com/zsh-users/zsh
synced 2024-10-02 22:24:37 +00:00
unposted: zyodl.vim: Highlight yodl continuation line marker
This commit is contained in:
parent
fb1aa3fe1e
commit
8b32df6d4c
|
@ -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)".
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue