diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2017-12-30 11:10:32 +0100 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2017-12-30 11:10:32 +0100 |
commit | bb85059bacd5b415a012f25679111a0e55d3c6d9 (patch) | |
tree | 315b2238ec4840aa4bf00ae48276bdffded07673 /syntax/toml.vim | |
parent | 11f53253ad9fd0cd3e7a44ed9f8c80a4f265b46e (diff) | |
download | vim-polyglot-bb85059bacd5b415a012f25679111a0e55d3c6d9.tar.gz vim-polyglot-bb85059bacd5b415a012f25679111a0e55d3c6d9.zip |
Update
Diffstat (limited to '')
-rw-r--r-- | syntax/toml.vim | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/syntax/toml.vim b/syntax/toml.vim index 17ea3cf9..7a5b44f2 100644 --- a/syntax/toml.vim +++ b/syntax/toml.vim @@ -38,7 +38,9 @@ syn match tomlBoolean /\<\%(true\|false\)\>/ display hi def link tomlBoolean Boolean " https://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 +syn match tomlDate /\d\{4\}-\d\{2\}-\d\{2\}/ display +syn match tomlDate /\d\{2\}:\d\{2\}:\d\{2\}\%(\.\d\+\)\?/ display +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 region tomlKeyDq oneline start=/"/ end=/"/ contains=tomlEscape contained |