diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/language_yaml.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins/language_yaml.lua b/plugins/language_yaml.lua index 0f1c452..fdc26fa 100644 --- a/plugins/language_yaml.lua +++ b/plugins/language_yaml.lua @@ -79,6 +79,14 @@ syntax.add { pattern = { "^%s*{", "}" }, syntax = yaml_bracket_list, type = "operator" }, + { + pattern = { "^%s*%-%s*%[", "%]" }, + syntax = yaml_bracket_list, type = "operator" + }, + { + pattern = { "^%s*%-%s*{", "}" }, + syntax = yaml_bracket_list, type = "operator" + }, -- rule to optimize space handling { pattern = "%s+", type = "normal" }, --- all the other rules |