[TxMt] toggle line comment in a new language

Ozgur Akgun ozgurakgun at gmail.com
Fri Feb 18 15:38:53 UTC 2011


Hi,

I've created a new language grammar -- with quite a bit of luck. Line
comments start with a $ sign in this language, and there are no block
comments. I've managed to get the regexp right for syntax highlighting of
the comments, however when I C+/ to toggle a line as comment, it still uses
C-style comments.

How do I convince textmate to use the correct line comment character?

Thanks in advance,
Ozgur
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20110218/91442f29/attachment.html>


More information about the textmate mailing list