Sublime Forum

How to override fallback syntax highlight?

#1

Hi i have a big question that i don’t know how to resolve.

I’ have write a syntax highlighter for JSTL (JSP html java markup) ant it works for the JSTL syntax outsite html tag.
https://github.com/eparisio/st3-jstl-syntax-highlight

normal html tag take the fallback to norml html sytanx highlight from the theme (actually morakai) or the default html.tmLanguage i think.

I want to override it and show the JSTL highlight even inside html tag.

there an example:
http://i459.photobucket.com/albums/qq320/gasp10/Cattura_zpsso9zxopi.png

how can it be done? i’m blocked on this point.

0 Likes

#2

What you want is this: sublimetext.com/docs/3/syntax.html (section “Including Other Files”, second example). This new feature/format is only available in the dev channel currently, build 3092 or higher.

0 Likes