1 2 3 4 5 6 7 8 9
if exists('b:current_syntax') finish endif syntax match todoUndone /^\s*- .\+/ highlight link todoUndone Statement let b:current_syntax = 'todo'