Sublime Forum

How to use a tmLanguage file in ST3?

#1

I am looking for better (more detailed) jQuery syntax coloring, as I do a lot of work with it.

I tried downloading the existing ST2 package, but it appears to do nothing. Actually, most of the package is snippet files; I don’t even really want the snippets, what I really want is the tmLanguage file to work, so that I can hook into the scopes with my theme file.

How do I add this language syntax to the existing syntax? I need the highlighting to work in .js files, and in script blocks in .html, and .php files.

0 Likes