Page 1 of 1

Syntax Hilighting {} in HTML

Posted: Wed Oct 08, 2003 5:23 pm
by cyface
Hi -

I've configured a copy of the HTMl .syn file with the 2nd comment delimiters set to {}.

I use this to hilight PHP Smarty template tags in .tpl files (which are HTML other than things in {}).

The problem is, this doesn't hilight:

({$foovar})

but this does:

( {$foovar} )

and this doesn't hilight:

"{$foovar}"

but this does:

" {$foovar} "

Any tips on how to set up syntax hilighting so that this would work?

Thanks,

Tim White