Skip to content

Syntax for package "comment": \begin{env}[options] and \end{env} appear as not being commented #2626

@kiryph

Description

@kiryph

Following LaTeX file

\documentclass{article}
\usepackage{comment} 

\begin{document}

\begin{comment}
  text text text text text text text text text text text text text 
  $a=b$
  text text text text text text text text text text text text text 
\end{comment}


\begin{comment}
  text text text text text text text text text text text text text 
  \begin{equation}
    a=b
  \end{equation}
  text text text text text text text text text text text text text 
  \begin{empheq}[box=\widefbox]{align*}
    c_1 &= a\\
    c_2 &= b\\
    c_3 &= c
  \end{empheq}
  text text text text text text text text text text text text text 
\end{comment}

\end{document}

appears in neovim 0.8.2 with vimtex installed as following
Screenshot 2023-02-02 at 08 05 11

Describe the solution you'd like
Lines 15, 17, 19, and 23 should also be greyed out.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions