genoma / language-pug

A Pug (was Jade) syntax highlighting for Atom, derived from https://github.com/davidrios/jade-tmbundle
MIT License
26 stars 8 forks source link

Toggling comments with ctrl-/ broken #11

Open rgherk opened 7 years ago

rgherk commented 7 years ago

v0.0.19 Toggling comments with default ctrl-/ results in '/.../' style comments, instead of '//- '. This only occurs when toggling a line with no whitespace at the beginning. e.g.

p
  a Test

==> ctrl-/ ==>

/*p*/
  a Test

instead of

//- p
  a Test
Disorrder commented 7 years ago

Also, when several lines selected

/*p
    a Test*/

instead of

//- p
//-     a Test