hsigrist
I'm using the `tabularray` package in LaTeX with the following code:
```
\begin{verbatim}
\begin{tblr}{hlines,vlines,cells={c,$}}
% table content
\end{tblr}
\end{verbatim}
```
I noticed that the `$` in `cells={c,$}` makes Vim think that all the following text is in math mode. This is inconvenient because syntax highlighting and editing behave as if I'm still inside a math environment.
Top Answer
samcarter
`$` is actually the same as `mode=math`, so you could use
```
\begin{tblr}{hlines,vlines,cells={c,mode=math}}
test\\
\end{tblr}
```
for the same result, but without confusing vim.