Open jrnold opened 8 years ago
Fantastic, very glad to have your input on this!
I'll have a proper poke around later this week and report back.
Also, here's the link to the Stan highlighting definition in the Rstudio source: rstudio/src/gwt/acesupport/acemode/stan_highlight_rules.js
Okay, this isn't really an issue, but it might be useful :-)
I haven't spent much time looking at it, but at first glance looks like the grammar for the highlightjs lexer is pretty similar to the one used by Atom/Sublime Text/Textmate. You should check out the patterns used in the grammar for the Atom package: https://github.com/jrnold/atom-language-stan. I'll also take a look at yours to see if there's anything I missed or you did better!