Closed ex-nerd closed 8 years ago
Just a note that https://github.com/mulesoft/raml-sublime-plugin/pull/7 has been merged so the RAML coloring tags will now all be available.
Hi Chris (I stalked you on your user page :smiling_imp:),
Thanks for the PR. I apologize that I haven't had a chance to look it over yet, as Neon is a side project and I've been kind of overwhelmed with "real" work for a while. But, I have some time now. Two questions for you: (I'm on my phone right now and kind of lazy) could you send me or point me to a good complex RAML document with all of the scopes you added? It would help my testing immensely. Second, where did you get your colors from? Other Neon rules, your own choices, random hex character combinations? Just wondering...
Once you send me some test data (or I get off my rear end and find some myself :smile:) I'll take a look and see what I think.
Thanks! Matt
The sample code right on the front page of http://raml.org/index.html does a pretty good job. However, give me a chance to refactor a couple of things -- the upstream maintainers of raml-plugin made a couple small tweaks to one tag after accepting my PR.
Ok, fix applied for upstream tag name, and rebased onto your master just for good measure.
OK, so it's been a few months, but things have lately freed up (my contract at work was not renewed), so I'm working on my Github stuff again. I'm going to play around with the colors, but the initial work looks good so far.
Per comments in #18, here are some
source.raml
specific scope colorization rules.The RAML language has a handful of issues and I haven't yet been able to identify all color combinations, but this is a good start at the majority of useful scopes.
Some of these depend on a couple of new scopes that have not yet been accepted upstream in the RAML plugin repository but adding them to the Neon theme won't break anything in the meantime. (see: https://github.com/mulesoft/raml-sublime-plugin/pull/7)