I'm experiencing a little issue with comments in plain HTML files.
I have binded the toggle-line-comments command with the ctrl-7 shortcut. But when I use it in a simple HTML file the line is not surrounded with the usual HTML comment tags (<!-- -->) but instead the handlebars comment tags are used ({{!-- --}}).
I temporarily solved this problem by removing these two lines from atom-handlebars.cson:
'commentStart': '{{!-- '
'commentEnd': ' --}}'
Maybe it should detect if the file type is HTML or Handlebars and apply the correct comment regarding context.
I'm experiencing a little issue with comments in plain HTML files. I have binded the
toggle-line-comments
command with thectrl-7
shortcut. But when I use it in a simple HTML file the line is not surrounded with the usual HTML comment tags (<!-- -->
) but instead the handlebars comment tags are used ({{!-- --}}
). I temporarily solved this problem by removing these two lines fromatom-handlebars.cson
:Maybe it should detect if the file type is HTML or Handlebars and apply the correct comment regarding context.