Closed ghost closed 9 years ago
It appears that only one syntax file can be used at a time in checking the Sublime Text 3 API. See the following function and its description:
set_syntax_file(syntax_file)
Changes the syntax used by the view. syntax_file should be a name along the lines of Packages/Python/Python.tmLanguage. To retrieve the current syntax, use view.settings().get('syntax').
It seems that the better approach, perhaps best approach, would be to combine Haml and Handlebars plist regex into a single syntax definition we'll call Hamlbars.
My apologies -- I've adjusted issues and issue assignments accordingly.
Implement two concurrent threads in Sublime Text 3 after the completion of #19, using that issue's code as a base.