Closed kjmph closed 10 months ago
Hey, first of all, thanks a lot for the PR and sorry for the slow reply!
Sounds good to me, but would you mind writing up a paragraph on how to do this conversion? I was looking for a Sublime package, but it might be the Ruby package https://github.com/aziz/SublimeSyntaxConvertor you used? What is the exact command to use?
I ran this:
$ gem install --user-install sublime_syntax_convertor
$ ~/.gem/ruby/X.X.X/bin/sublime_syntax_convertor Handlebars.tmLanguage
Replace, X.X.X
with your Ruby version.
Does this help?
For some packages that rely on syntax parsing, such as bat, they look for sublime-syntax as opposed to tmLanguage. However, by leveraging SublimeSyntaxConvertor, we can convert Handlebars.tmLanguage to Handlebars.sublime-syntax. Thus, Handlebars can now be syntax highlighted by bat.