From d2732d24689189f02d1b3680b5c560a678321564 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Tue, 8 Sep 2020 06:14:51 +0900 Subject: Add .vim --- .vim/my/syntax/todolist.vim | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .vim/my/syntax/todolist.vim (limited to '.vim/my/syntax') 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" -- cgit v1.2.3-70-g09d2