latex-lsp / texlab

An implementation of the Language Server Protocol for LaTeX
GNU General Public License v3.0
1.55k stars 53 forks source link

\renewenvironment not treated the same as \newenvironment #556

Closed tarsobcaldas closed 2 years ago

tarsobcaldas commented 2 years ago

When creating a new environment I can separate begin and end in the arguments and it doesn't flag as error newenvironment

But this doesn't happen when using \renewenvironment renewenvironment

pfoerster commented 2 years ago

Thanks for the report. This is an easy fix: https://github.com/latex-lsp/texlab/commit/32d007e0a986f9e4ed4b2272b9b665a5be2a9b74