From c079f686a076f9aec1c0b951656b339f86cf8e84 Mon Sep 17 00:00:00 2001 From: Michiel Scholten Date: Wed, 25 Jul 2018 10:00:24 +0200 Subject: [PATCH] Be more inclusive regarding dashes and underscores --- .vim/syntax/todo.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vim/syntax/todo.vim b/.vim/syntax/todo.vim index d911365..ce61304 100644 --- a/.vim/syntax/todo.vim +++ b/.vim/syntax/todo.vim @@ -96,7 +96,7 @@ syntax match timeslot "\v\[.*-.*\] " nextgroup=todoItem skipwhite highlight timeslot ctermfg=Magenta " 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 highlight link todoStatusDone PreProc