Fix case sensitivity with "due:" in overdue date highlighting

This commit is contained in:
fretep
2017-09-09 20:35:44 +10:00
parent 03fe8bb167
commit a778ef5590
2 changed files with 2 additions and 2 deletions

View File

@@ -174,7 +174,7 @@ if has('python3')
elseif has('python')
execute "pyfile " . s:script_dir. "todo.py"
else
execute 'syntax match TodoOverDueDate /\v<due:' . todo#GetDateRegexForPastDates() . '>/'
execute 'syntax match TodoOverDueDate /\v\c<due:' . todo#GetDateRegexForPastDates() . '>/'
highlight default link TodoOverDueDate Error
endif