LaTeXTools
LaTeXTools copied to clipboard
using "\comment" on latex breaks syntax highlight editor
trafficstars
Every time I use "\comment{ ... }" syntax highlight stop working and all following text go as a comment ( Screen Shot 2020-09-02 at 23.54.27.pdf
Any idea how to fix this?
I am using this definition on tex \renewcommand\comment[1]{{\color{blue} \sffamily [xxx: #1]}}
This is the syntax highlighting for the comment package. I think it ends with \endcomment. Unfortunately the highlighting is static and we just wanted to include often used packages. Therefore you will need to edit Tyne syntax file top change this.