dotfiles/files/.vim/syntax/irclog.vim
2016-09-04 13:58:13 +02:00

16 lines
357 B
VimL

" Vim syntax file
" Language: IRC log (irssi)
if exists("b:current_syntax")
finish
endif
syn match beglineTime '^[0-9:]\+' nextgroup=nick skipwhite display
syn match nick '<[!@+ ][^>]\+>' display
syn match datechange '^--- .*$' display
let b:current_syntax = "irclog"
hi def link beglineTime Constant
hi def link nick Type
hi def link datechange Todo