Ecmascript-Sublime
Ecmascript-Sublime copied to clipboard
Add support for graphql nested syntax
As title says 🙂
I'd say graphql
tagged templates are quite common in javascript code
Sure! The problem though is that as of now there only seems to be one GraphQL syntax and the scopes that it creates look terrible in our color schemes, we actually have this problem with a few other syntaxes but this one in particular is really ugly:
I would suggest we'd first need to make a bit of effort to add each scope to (at least) one of the color schemes (likely excelsior since this is the one that supports nested syntaxes right now).
@blake-regalia I also just realised I often use lua
in javascript for scripting with redis. Do you think that would be valuable target as well for nested syntax?
@Janpot absolutely. Lua syntax comes with ST3 and their scopes tend to look more natural in the color scheme so that should be no problem.
@Janpot v1.8.0
Should also add highlighting support for template tag gql
from https://github.com/apollographql/graphql-tag