You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apparently, syntax highlighting assumes presence of commas between list elements, which are optional in hjson.
I expect a closing bracket (of a list or object) to be displayed in same colors as a corresponding opening bracket.
Instead, closing } of some objects within a list AND the ] of that list are highlighted rather like string literals (at least in my colorscheme). To be precise, wrong } highlighting happens for objects:
Apparently, syntax highlighting assumes presence of commas between list elements, which are optional in hjson.
I expect a closing bracket (of a list or object) to be displayed in same colors as a corresponding opening bracket.
Instead, closing
}
of some objects within a list AND the]
of that list are highlighted rather like string literals (at least in my colorscheme). To be precise, wrong}
highlighting happens for objects:Sample
According to https://hjson.github.io/try.html, this is a valid list of 6 elements — 5 objects and 1 string:
Demo
The text was updated successfully, but these errors were encountered: