borela / naomi

Sublime Text enhanced syntax highlighting for JavaScript ES6/ES7/ES2015/ES2016/ES2017+, Babel, FlowType, React JSX, Styled Components, HTML5, SCSS3, PHP 7, phpDoc, PHPUnit, MQL4. Basic: Git config files.
Other
558 stars 18 forks source link

Javascript uncomment affect preceding lines #186

Open YuriGor opened 5 years ago

YuriGor commented 5 years ago

Try to uncomment(Ctrl+/) last line // module.exports = [];

// const _ = require("lodash");
// const _ = require("lodash");
// const _ = require("lodash");
// module.exports = [];

You will see all the require lines will be uncommented too. With native js syntax uncomment fails too, so I am not sure it depends on syntax at all.

StreetStrider commented 5 years ago

I've faced the same issue. Possible related to #177.

ESRogs commented 5 years ago

I filed #199 for the same issue. I've closed that one as a duplicate.