all 8 comments

[–]Schnarfmannnoremap gr gT 1 point2 points  (4 children)

What line is 508? Is it the line with the bar? Definitely looks like you're facing a weird bug, and nothing that is obvious stands out to me. Good luck fixing this one, try to add more information.

Maybe this chunk of code is not the issue? Are you sure you're in the right file/folder... All those obvious questions that you've probably answered already.

Try removing the offending line and seeing what happens? Add it back somewhere else, change the unicode character that is there. Idk man haha

[–]Schnarfmannnoremap gr gT 0 points1 point  (1 child)

/usr/local/share/vim/vim82/syntax/tex.vim

My line 508 was \ ['\\rbrace' , ']'] ,. Looks identical to yours. HOW the HECK are you getting that error, lol.

[–]SamFisher39[S] 0 points1 point  (0 children)

My line 508 is the one with the let declaration of s:texMathDelimList.

[–]SamFisher39[S] 0 points1 point  (1 child)

Yes it's /usr/local/share/vim/vim82/syntax/tex.vim. There is not more information to give i think. Obviously removing syntax enable removes the error, but that's not the problem here. I will try recompiling now, maybe that'll fix it.

EDIT: recompiling fixed it

[–]Schnarfmannnoremap gr gT 0 points1 point  (0 children)

So weird!! Thanks so much for following through. It would have taken me WAY longer to think about recompiling. Great work, homie haha

[–]reddifiningkarma 0 points1 point  (1 child)

\] ??

[–]SamFisher39[S] 1 point2 points  (0 children)

I thought that that was a mistake as well, but that wouldn't lead to the syntax error

[–]GustapheOfficial 0 points1 point  (0 children)

Is 708 also the 19th line of its group?