dotfiles/files/.vim/syntax/irclog.vim

17 lines
357 B
VimL
Raw Permalink Normal View History

2016-09-04 13:58:13 +02:00
" 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