diff --git a/lib/taskjuggler/VimSyntax.rb b/lib/taskjuggler/VimSyntax.rb index 98118a7d..795d4901 100644 --- a/lib/taskjuggler/VimSyntax.rb +++ b/lib/taskjuggler/VimSyntax.rb @@ -187,7 +187,7 @@ def matches syn match tjpcomment /#.*$/ syn match tjpcomment "//.*$" syn match tjpinclude /include.*$/ -syn match tjpnumber /\s[-+]\?\d\+\(\.\d\+\)\?\([hdwmy]\|min\)\?/ +syn match tjpnumber /\s[-+]\?\d\+\(\.\d\+\)\?\(min\|[hdwmy]\)\?/ syn match tjpdate /\s\d\{4}-\d\{1,2}-\d\{1,2}\(-\d\{1,2}:\d\{1,2}\(:\d\{1,2}\)\?\(-[-+]\?\d\{4}\)\?\)\?/ syn match tjptime /\s\d\{1,2}:\d\d\(:\d\d\)\?/