Improve comment indenting behaviour for PHP

This commit is contained in:
Melvin Lee
2016-12-19 19:43:44 +08:00
parent 209fcbd543
commit d0957daa05
2 changed files with 39 additions and 3 deletions

View File

@@ -13,7 +13,15 @@
{ "open": "[", "close": "]", "notIn": ["string"] },
{ "open": "(", "close": ")", "notIn": ["string"] },
{ "open": "'", "close": "'", "notIn": ["string"] },
{ "open": "\"", "close": "\"", "notIn": ["string", "comment"] }
{ "open": "\"", "close": "\"", "notIn": ["string", "comment"] },
{ "open": "/**", "close": " */", "notIn": ["string"] }
],
"surroundingPairs": [
["{", "}"],
["[", "]"],
["(", ")"],
["'", "'"],
["\"", "\""]
]
}