diff --git a/.vim/ftdetect/todo.vim b/.vim/ftdetect/todo.vim new file mode 100644 index 0000000..af40649 --- /dev/null +++ b/.vim/ftdetect/todo.vim @@ -0,0 +1 @@ +au BufNewFile,BufRead *.todo set filetype=todo diff --git a/.vim/syntax/todo.vim b/.vim/syntax/todo.vim new file mode 100644 index 0000000..465b1d8 --- /dev/null +++ b/.vim/syntax/todo.vim @@ -0,0 +1,8 @@ +if exists("b:current_syntax") + finish +endif + +syntax keyword todoKeyword todo done +highlight link todoKeyword Keyword + +let b:current_syntax = "todo"