1
0
mirror of https://github.com/cmur2/joe-syntax.git synced 2024-12-22 12:54:23 +01:00

Fix json support to handle empty objects/arrays w/ whitespace inside

This commit is contained in:
Rebecca Turner 2015-02-19 21:31:28 -05:00
parent 2003c3b5f5
commit c7ed3daa91

View File

@ -59,6 +59,7 @@
:maybeempty Brace :maybeempty Brace
* key noeat * key noeat
" \t\n" maybeempty
"}" end recolor=-1 "}" end recolor=-1
:key Idle :key Idle
@ -105,6 +106,7 @@
:maybeempty Bracket :maybeempty Bracket
* value noeat * value noeat
" \t\n" maybeempty
"]" end recolor=-1 "]" end recolor=-1
:value Idle :value Idle