1
0
mirror of https://github.com/aquatix/dotfiles.git synced 2025-12-06 22:55:10 +01:00

Be more inclusive regarding dashes and underscores

This commit is contained in:
2018-07-25 10:00:24 +02:00
parent 2e7fa8ac98
commit c079f686a0

View File

@@ -96,7 +96,7 @@ syntax match timeslot "\v\[.*-.*\] " nextgroup=todoItem skipwhite
highlight timeslot ctermfg=Magenta highlight timeslot ctermfg=Magenta
" A todoItem has a subject (e.g., a word that's followed by a ':') " A todoItem has a subject (e.g., a word that's followed by a ':')
syn match todoItem '\i\+:' contained syn match todoItem '[a-zA-Z0-9\-_]\+:' contained
hi todoItem ctermfg=Blue hi todoItem ctermfg=Blue
highlight link todoStatusDone PreProc highlight link todoStatusDone PreProc