Sorry, I thought you didn't want CF commands to be highlighted.. you could replace "--" with "(--|---)" for comment.block.html. Example:

{ name = 'comment.block.html';
begin = '<!(--|---)';
end = '(--|---)\s*>';
patterns = (
{ name = 'invalid.illegal.bad-comments-or-CDATA.html';
match = '(--|---)';
}
);
}


Richard

On 10 Jul 2006, at 17:35, Josh wrote:

I just tried your suggestion an it didn't seem to work. Forgive my lack of TextMate knowledge but can I just add something like an "OR" somewhere so that -- and --- would be valid matches?