aboutsummaryrefslogtreecommitdiffstats
path: root/syntax/todo.vim
blob: 0aabae7ce7b90de948fd7afe864f067174f2278e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
if exists('b:current_syntax')
	finish
endif

syntax match todoUndone /^\s*- .\+/
syntax match todoImportant /^\s*!.\+/
syntax match todoUnimportant /^\s*_.\+/
syntax match todoCompleted /^\s*v.\+/

highlight link todoUndone Statement
highlight link todoImportant Error
highlight link todoUnimportant Ignore
highlight link todoCompleted Ignore

let b:current_syntax = 'todo'