mirror of
https://github.com/cmur2/joe-syntax.git
synced 2025-07-20 15:11:18 +02:00
Fix json support to handle empty objects/arrays w/ whitespace inside
This commit is contained in:
2
json.jsf
2
json.jsf
@ -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
|
||||||
|
Reference in New Issue
Block a user