Sublime Forum

Smarty Color Coding Questions

#1

I’m working with Smarty and found on Google how to work in Smarty template color coding into Sublime Text 2. Here are my questions:

  1. I’d like everything inside of a particular Smarty tag {NCMB type=“text/javascript”} … {/NCMB} to use JavaScript or CSS color coding based on the type parameter

  2. When I use {literal} tags, it kills the color coding. Can I have that removed?

Thanks in advance!

0 Likes

#2

What syntax language are you using.
It should say on the far right of your status bar.

You’ll need to edit the tmLanguage file for that syntax to get the color highlighting you want.

0 Likes