From 271b63d71707720ad0d35590b8cb50f8f8f43014 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Mon, 11 May 2015 15:05:13 +0200 Subject: Update --- syntax/toml.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'syntax/toml.vim') diff --git a/syntax/toml.vim b/syntax/toml.vim index a7c4bc5b..1a1a2086 100644 --- a/syntax/toml.vim +++ b/syntax/toml.vim @@ -34,7 +34,8 @@ hi def link tomlFloat Float syn match tomlBoolean /\<\%(true\|false\)\>/ display hi def link tomlBoolean Boolean -syn match tomlDate /\d\{4\}-\d\{2\}-\d\{2\}T\d\{2\}:\d\{2\}:\d\{2\}Z/ display +" http://tools.ietf.org/html/rfc3339 +syn match tomlDate /\d\{4\}-\d\{2\}-\d\{2\}T\d\{2\}:\d\{2\}:\d\{2\}\%(\.\d\+\)\?\%(Z\|[+-]\d\{2\}:\d\{2\}\)/ display hi def link tomlDate Constant syn match tomlTable /^\s*\[[^#\[\]]\+\]\s*\(#.*\)\?$/ contains=tomlComment -- cgit v1.2.3