textmate / latex.tmbundle

TextMate support for LaTeX
97 stars 64 forks source link

Make `lstinline` behave like `verb` #151

Closed mwillsey closed 8 years ago

mwillsey commented 8 years ago

The bundle supports the verbatim and lstlisting environments, the verb macro, but not the lstinline macro. This pull request fixes that by simply treating lstinline just like verb, so characters like \ and $ will be escaped.

sanssecours commented 8 years ago

Hi Max,

thanks for the pull request. I added your changes in commit a5c14e1c. I also reworded the commit message a little, using the description you wrote above as basis. Hope that is okay with you.