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

14 lines
340 B
VimL
Raw Normal View History

if exists('b:current_syntax') && b:current_syntax ==# 'SpaceVimLog'
finish
endif
let b:current_syntax = 'SpaceVimLog'
syntax case ignore
syn match SPCLogHead /^###.*/
syn match SPCLogWarn /^.*\[ Warn ].*/
syn match SPCLogError /^.*\[ Error].*/
hi def link SPCLogHead TODO
hi def link SPCLogWarn WarningMsg
hi def link SPCLogError Error