Sublime Forum

Sublime misinterpret a command in latex files

#1

Hi,
I was using sublime for editing latex, but sublime keeps misinterpret my \comment command as comment, and it showed the whole block of code after the command as comments.

How do I fix this?
Thanks,

0 Likes

#2

I am not a latex guru but this sounds like you name your command in a bad way?

probably because the syntax prefer using https://www.ctan.org/pkg/comment.

0 Likes

#3

I fixed LaTeX.sublime-syntax file, and it works fine.

0 Likes