[ext/yaml] add indentation rules configuration

pull/41378/head
Miguel Carvajal 2018-01-10 02:52:03 -03:00
parent 2bab83a097
commit 1aa00f53bc
1 changed files with 5 additions and 1 deletions

View File

@ -23,5 +23,9 @@
],
"folding": {
"offSide": true
},
"indentationRules": {
"increaseIndentPattern": "^\\s*.*(:|-) ?(&\\w+)?(\\{[^}\"']*|\\([^)\"']*)?$",
"decreaseIndentPattern": "^\\s+\\}$"
}
}
}