wcandillon / language-jsoniq

JSONiq & XQuery Package for Atom
https://atom.io/packages/language-jsoniq
Apache License 2.0
5 stars 1 forks source link

Improve coverage and quality of JSONiq grammar #24

Closed Alhadis closed 3 years ago

Alhadis commented 3 years ago

This PR is a grab-bag of various improvements I saw an opportunity to make whilst preparing #23. Most of them relate to scope-name choices, which have a vast impact on a theme's ability to style code with appealing, diverse colour-choices.

Here's what sample-2.jq looks like in Seti UI:

Figure 1

For more info on good scope-name choices, I recommend reading TextMate's official guidelines, which I treat as authoritative.

Alhadis commented 3 years ago

FYI, I haven't touched the XQuery grammar, as I have even less understanding of what that is than I do JSONiq. 😅