1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-02 22:10:06 +08:00

pref(chat): fix vimchat ui syntax highlight

This commit is contained in:
wsdjeg 2022-05-01 00:03:46 +08:00
parent 3fb1bba91f
commit 3aa8a094c5

View File

@ -8,7 +8,9 @@
" hi link vimChatMe Type
" syn match vimChatMsg /^\[\d\d\(:\d\d\)\{0,2\}][^>]*/ contains=vimChatTime,vimChatNick
syn match VimChatTime /\[\d\d\d\d-\d\d-\d\d\s\d\d\:\d\d]/
syn match VimChatNick /\[\d\d\d\d-\d\d-\d\d\s\d\d\:\d\d]\s<[^>]*>/ contains=VimChatTime
syn match VimChatVert /│/
syn match VimChatNick /\[\d\d\d\d-\d\d-\d\d\s\d\d\:\d\d]\s│[^│]*│/ contains=VimChatTime,VimChatVert
" hi def link vimChatMsg Comment
hi def link VimChatTime Comment
hi def link VimChatNick Type
hi def link VimChatVert VertSplit