summaryrefslogtreecommitdiffstats
path: root/syntax/toml.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/toml.vim')
-rw-r--r--syntax/toml.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/syntax/toml.vim b/syntax/toml.vim
index 839ea01e..0299d28e 100644
--- a/syntax/toml.vim
+++ b/syntax/toml.vim
@@ -65,6 +65,10 @@ hi def link tomlTable Title
syn region tomlTableArray oneline start=/^\s*\[\[/ end=/\]\]/ contains=tomlKey,tomlKeyDq,tomlKeySq
hi def link tomlTableArray Title
+syn cluster tomlValue contains=tomlArray,tomlString,tomlInteger,tomlFloat,tomlBoolean,tomlDate,tomlComment
+syn region tomlKeyValueArray start=/=\s*\[\zs/ end=/\]/ contains=@tomlValue
+syn region tomlArray start=/\[/ end=/\]/ contains=@tomlValue contained
+
syn keyword tomlTodo TODO FIXME XXX BUG contained
hi def link tomlTodo Todo