Sublime Forum

Sublime Text 2 "Close tag" not working

#1

I created a cusotm ‘html’ language definition for angular templates. It is based on the standard html language and I’ve called ‘HTML(MyAngular).tmLanguage’.
The problem is that Sublime Text 2 “Close tag” command does not work when I choose this syntax.

If I open the console and paste ‘sublime.log_commands(True)’ I can actually see this log ‘command: close_tag’ but nothing happens either I choose to use the command from “Edit/tag/close tag” menu or if I use the keyboard shortcut.
If I choose the standard ‘html’ language then it works

I guess I should modify this command to apply also to my custom html language but I wouldn’t know how to do so

Thanks

0 Likes