ehuss / Sublime-Wrap-Plus

Enhanced "wrap lines" command for Sublime Text 2 or 3.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wrapping a latex command

diego898 opened this issue · comments

For some reason trigger wrap plus doesnt work correctly when a line starts with a \ latex command? In order to get it to work correctly I have to manually remove the line

I just pushed a commit that includes some latex fixes. Feel free to reopen if this specific case is still a problem. Keep in mind that latex support is somewhat of a hack, so it's not intended to support all cases.

Hello, thanks for the update! Just to keep this updated, I am experience very strange behavior with a custom latex environment. I have defined the following custom environment:
\newcommand{\eq}[1]{\begin{equation*}\begin{aligned}#1\end{aligned}\end{equation*}}

When I use it and try to wrap, I get the following behavior: