squ1b3r / Djaneiro

Django support for Sublime Text 2/3
MIT License
855 stars 131 forks source link

Mistake HTML to HTML(django) #109

Closed eromoe closed 8 years ago

eromoe commented 8 years ago

It often set regular html file from HTML to HTML(django), which make shortcut ctrl-/ change from <!-- !--> to {# #}. I don't know why.

Doesn't it detect if content has some syntax like {% %} at first, then change file to HTML(django)? And javascript and css don't work well(without smart) on HTML(django).

squ1b3r commented 8 years ago

Djaneiro is activated by default for any .html files. It does not detect anything because it makes no sense. If you don't like this behaviour you can remove .html from Djaneiro settings but then you will have to manually activate it every time when you need HTML(django).