diff options
author | Daniel Shahaf <d.s@daniel.shahaf.name> | 2020-05-15 02:10:00 +0000 |
---|---|---|
committer | Daniel Shahaf <d.s@daniel.shahaf.name> | 2020-05-28 19:42:16 +0000 |
commit | 8b32df6d4ce333e122beacb8697f90e96f26bc47 (patch) | |
tree | b7452705423edcba6eb806aca258cc2f2f806a8f /Util | |
parent | fb1aa3fe1e78ee1f521b64db062addf74ea9d263 (diff) | |
download | zsh-8b32df6d4ce333e122beacb8697f90e96f26bc47.tar.gz zsh-8b32df6d4ce333e122beacb8697f90e96f26bc47.tar.xz zsh-8b32df6d4ce333e122beacb8697f90e96f26bc47.zip |
unposted: zyodl.vim: Highlight yodl continuation line marker
Diffstat (limited to 'Util')
-rw-r--r-- | Util/zyodl.vim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Util/zyodl.vim b/Util/zyodl.vim index 73cd027fd..49862c65f 100644 --- a/Util/zyodl.vim +++ b/Util/zyodl.vim @@ -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 |