blob: d2775e3f85e158cbd3b981026ac0097711c12b46 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
scriptencoding utf-8
if exists("b:current_syntax")
finish
endif
syn match todolistCheckboxUnchecked /\[ \]/
syn match todolistCheckboxChecked /\[x\]/
syn region todolistComment start="//" end="$"
hi def link todolistCheckboxUnchecked Operator
hi def link todolistCheckboxChecked Operator
hi def link todolistComment Comment
let b:current_syntax = "todolist"
|