1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 13:50:05 +08:00

feat(vimchat): add VimChatReplayCounts highlight

This commit is contained in:
wsdjeg 2022-05-04 14:44:43 +08:00
parent 3d645a86ee
commit 213d088260

View File

@ -27,9 +27,11 @@ syntax match VimChatRemoteNick /**`[^`]*`\*\*/ contains=VimChatRemoteNickR,VimCh
syntax match VimChatPing /\s\zs@\S*/
syntax match VimChatQuoteMsg /.*│\s>\s.*/ contains=VimChatTime,VimChatVert,VimChatNick
syn region VimChatCodeBlockLines start=".*│\s*````*.*$" end="│\s*````*\ze\s*$" contains=VimChatTime,VimChatVert,VimChatNick keepend
syntax match VimChatReplayCounts /.*│\s->\s\d*\sreplays/ contains=VimChatTime,VimChatVert,VimChatNick
" hi def link vimChatMsg Comment
hi def link VimChatTime Comment
hi def link VimChatQuoteMsg Comment
hi def link VimChatReplayCounts Comment
hi def link VimChatNick Type
hi def link VimChatVert VertSplit
hi def link VimChatRemoteNick Todo