Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrap fails when I have align* in a latex file. #77

Closed
karljs opened this issue Feb 19, 2018 · 2 comments
Closed

Rewrap fails when I have align* in a latex file. #77

karljs opened this issue Feb 19, 2018 · 2 comments

Comments

@karljs
Copy link

karljs commented Feb 19, 2018

When I have a LaTeX environment with a star in the name (which is very common) it seems to cause wrapping to break.

For example:

\begin{align}
\end{align}

long line of text long line of text long line of text long line of text long line of text

Wrapping the long line works fine.

If I change the environment to align* then wrapping the long line no longer works.

  • Extension Name: rewrap
  • Extension Version: 1.7.0
  • OS Version: Darwin x64 17.4.0
  • VSCode version: 1.20.1
stkb added a commit that referenced this issue Feb 20, 2018
It was finding the `begin{env*}` but not the `end{env*}` because it
waslooking for `end{env}`.
@stkb
Copy link
Owner

stkb commented Feb 20, 2018

Sorry about that, I goofed. Have just published a fix in v1.7.1.

Thanks for all the info!

@karljs
Copy link
Author

karljs commented Feb 20, 2018

Thanks for the quick fix!

@karljs karljs closed this as completed Feb 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants