-
Notifications
You must be signed in to change notification settings - Fork 407
Syntax highlighting falsely marks brace as error #2408
Copy link
Copy link
Closed
Labels
Description
Description
The trailing curly brace in line 3 of minimal.tex is highlighted as an error (texGroupError) despite being valid.
Steps to reproduce
Install vimtex and look at the syntax highlighting of the file. The last closing curly brace in the \begin{tabular} line is highlighted as an error, although it is valid. This error does not show up when using the default syntax highlighting without vimtex.
Expected behavior
Valid syntax is not marked as an error.
Actual behavior
The last curly brace in the line \begin{tabular}{*{1}{p{1cm}}} is highlighted as an error (texGroupError).
Do you use a latexmkrc file?
No
VimtexInfo
System info:
OS: Linux 5.18.1-arch1-1
Vim version: NVIM v0.5.1
Has clientserver: true
Servername: /tmp/nvimOddEaA/0
VimTeX project: repro
base: repro.tex
root: /root
tex: /root/repro.tex
main parser: current file verified
document class: minimal
compiler: latexmk
engine: -pdf
options:
-verbose
-file-line-error
-synctex=1
-interaction=nonstopmode
callback: 1
continuous: 1
executable: latexmk
viewer: General
qf method: LaTeX logfileReactions are currently unavailable