Sublime Forum

3103 custom extension syntax highlighting with html prettify

#1

I used to be able to have html prettify work against a custom extension (in my case .txp)

All I used to have to do to make this work was add those extensions to a .jsbeautify file. Now that does not work.

I understand that the syntax definition process has changed, and have read https://www.sublimetext.com/docs/3/syntax.html so I have to build some definition files now? UGH, where do those files live?

All I want to do is map .txp to .HTML

0 Likes

#2

I suggest checking with the package’s repo instead since the default syntax highlighting of html should not have a say in how some beautifier selects its active files.

0 Likes