aboutsummaryrefslogtreecommitdiff
path: root/files/.vim/syntax/worklist.vim
blob: f9b2017eb545425191b242d86eda2b2619367ff1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
" Vim syntax file

syntax clear
syntax case match

syn match worklistTag /\v\[\w+\]/
" Statuses
syn region worklistDone start=/\v^\-\s*\:DONE\:/ end=/\v^\s*$/
syn region worklistBug start=/\v^\-\s*\:BUG\:/ end=/\v^\s*$/
syn region worklistNew start=/\v^\-\s*\:NEW\:/ end=/\v^\s*$/
syn region worklistLow start=/\v^\-\s*\:LOW\:/ end=/\v^\s*$/

hi link worklistDone Ignore
hi link worklistBug Error
hi link worklistNew Todo
hi link worklistLow Comment
hi link worklistTag Tag

let b:current_syntax = "worklist"