##Motivation
Being able to correctly syntax-highlight own defined environments.
##Example usage
\lstnewenvironments{myListing}{}{}
\begin{myListing}
VerbatimHighlighting here
\end{myListing}
Thoughts on implementation
Get the environment names from settings. Then reformat the user settings to a regex and write this regex to a file that can be included in grammars/latex.cson.
I think that verbatim environments and math environments are the environments that I would define myself (sometimes), and I suspect that these are the ones that are most common to define yourself (as opposed to lists, tikz, etc.)
##Motivation
Being able to correctly syntax-highlight own defined environments.
##Example usage
Thoughts on implementation
Get the environment names from settings. Then reformat the user settings to a regex and write this regex to a file that can be included in
grammars/latex.cson.I think that verbatim environments and math environments are the environments that I would define myself (sometimes), and I suspect that these are the ones that are most common to define yourself (as opposed to lists, tikz, etc.)