blob: 96d86ee901e2f1c40acad6ff95904edbb155f744 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
if exists('b:current_syntax')
finish
endif
syntax match todoUndone /^\s*- .\+/
syntax match todoImportant /^\s*!.\+/
syntax match todoUnimportant /^\s*_.\+/
syntax match todoCompleted /^\s*v.\+/
syntax match todoDeleted /^\s*x.\+/
highlight link todoUndone Statement
highlight link todoImportant Error
highlight link todoUnimportant Ignore
highlight link todoCompleted Ignore
highlight link todoDeleted Ignore
let b:current_syntax = 'todo'
|