1
0
mirror of https://github.com/aquatix/dotfiles.git synced 2025-12-07 14:45:10 +01:00
Files
dotfiles/.vim/syntax/todo.vim
Michiel Scholten 22c3f62e62 Day delimiters
2015-03-18 17:36:40 +01:00

16 lines
361 B
VimL

if exists("b:current_syntax")
finish
endif
syntax keyword todoKeyword todo done
highlight link todoKeyword Keyword
syntax match todoComment "\v#.*$"
highlight link todoComment Comment
syn region todoDay matchgroup=todoHeadingDelimiter start="==\@!" end="==*\s*$" keepend oneline
hi def link todoHeadingDelimiter Delimiter
let b:current_syntax = "todo"