diff options
Diffstat (limited to '.vim/my/syntax')
| -rw-r--r-- | .vim/my/syntax/todolist.vim | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/.vim/my/syntax/todolist.vim b/.vim/my/syntax/todolist.vim new file mode 100644 index 0000000..d2775e3 --- /dev/null +++ b/.vim/my/syntax/todolist.vim @@ -0,0 +1,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" |
