mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 22:50:05 +08:00
13 lines
501 B
VimL
13 lines
501 B
VimL
" syn match vimChatMsg /^\[\d\d\(:\d\d\)\{0,2\}].\{-}:/ contains=vimChatTime,vimChatMe
|
|
" syn match vimChatTime /\[\d\d\(:\d\d\)\{0,2\}]/ contained nextgroup=vimChatMe
|
|
" syn match vimChatMe /Me:/ contained
|
|
"
|
|
" Comment, Type, String, Statement
|
|
" hi link vimChatMsg Comment
|
|
" hi link vimChatTime String
|
|
" hi link vimChatMe Type
|
|
syn match VimChatTime /\[\d\d\:\d\d:\d\d]/
|
|
syn match VimChatNick /\[\d\d\:\d\d:\d\d]\s<\zs[^>]\+/
|
|
hi def link VimChatTime Comment
|
|
hi def link VimChatNick String
|