puranjayjain / language-liquid

Liquid language support for Atom.
MIT License
28 stars 23 forks source link

support.scopes #32

Closed rickydazla closed 7 years ago

rickydazla commented 7 years ago

Add Liquid Global Objects, Tags, and Filters as support.function / .class / .variable / .constant => moar nicer colors :rainbow: try it, you might like it :candy:

This is somewhat re: #25 but no snippets are included yet and I have no idea how to go about making sure that e.g. json within the schema tag or scripts and styles within those tags are styled according to their respective grammars??

aleclarson commented 7 years ago

Regarding the JSON highlighting within {% schema %}, look at this commit that added Javascript highlighting within backticks for language-coffee-script.

Looks like the solution is simple. 😄

rickydazla commented 7 years ago

+1 @aleclarson - good sleuthing. PRs are obviously welcomed since you can see mine was just merged here :)