mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-12-28 16:15:02 +01:00
unposted: zyodl.vim: Highlight the word "note", like ft=help does.
This commit is contained in:
parent
8b32df6d4c
commit
c05ff07d9f
2 changed files with 6 additions and 1 deletions
|
@ -1,5 +1,8 @@
|
|||
2020-05-28 Daniel Shahaf <d.s@daniel.shahaf.name>
|
||||
|
||||
* unposted: Util/zyodl.vim: Highlight the word "note", like
|
||||
ft=help does.
|
||||
|
||||
* unposted: Util/zyodl.vim: Highlight yodl continuation line
|
||||
marker
|
||||
|
||||
|
|
|
@ -74,8 +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
|
||||
" Miscellany
|
||||
syn match zyodlLineJoiner /\\$/
|
||||
syn keyword zyodlNote note Note NOTE
|
||||
|
||||
syn keyword zyodlBullet itemiz conceal cchar=•
|
||||
syn match zyodlSpecial "\<DASH()-" conceal cchar=—
|
||||
|
@ -101,6 +102,7 @@ hi def link zyodlRef Include
|
|||
hi def link zyodlSItemArg1 Macro
|
||||
hi def link zyodlSItemArg2 Underlined
|
||||
hi def link zyodlLineJoiner Special
|
||||
hi def link zyodlNote Todo
|
||||
|
||||
let b:current_syntax = "zyodl"
|
||||
let &cpo = s:cpo_save
|
||||
|
|
Loading…
Reference in a new issue