yaml: fix the anchor group in increaseIndentPattern
The pattern had an HTML-escaped "&" where it meant "&", so a key followed by an anchor (foo: &anchor) never increased the indent.
This commit is contained in:
1 parent
da856c50ae
commit
6d1a2764c0
2 files changed
+44
-2
No files matched your search
@@ -29,7 +29,7 @@
|
||||
}
|
||||
},
|
||||
"indentationRules": {
|
||||
"increaseIndentPattern": "^\\s*.*(:|-) ?(&\\w+)?(\\{[^}\"']*|\\([^)\"']*)?$",
|
||||
"increaseIndentPattern": "^\\s*.*(:|-) ?(&\\w+)?(\\{[^}\"']*|\\([^)\"']*)?$",
|
||||
"decreaseIndentPattern": "^\\s+\\}$"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user