[json] improve folding stability with comments

This commit is contained in:
Martin Aeschlimann
2018-03-08 16:58:39 +01:00
parent eee1b9bc69
commit 3a9e9602d4
3 changed files with 11 additions and 6 deletions

View File

@@ -12,6 +12,7 @@
{ "open": "[", "close": "]", "notIn": ["string"] },
{ "open": "(", "close": ")", "notIn": ["string"] },
{ "open": "'", "close": "'", "notIn": ["string"] },
{ "open": "/*", "close": "*/", "notIn": ["string"] },
{ "open": "\"", "close": "\"", "notIn": ["string", "comment"] },
{ "open": "`", "close": "`", "notIn": ["string", "comment"] }
]