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

toggle comment doesn't work if cursor placed right before quotation mark #195

Open YuriGor opened 5 years ago

YuriGor commented 5 years ago

place cursor right before any opening quotation mark and try to ctrl+/

"";
("");
console.log("test");
'';
('');
console.log('test');
``;
(``);
console.log(`test`);
StreetStrider commented 5 years ago

Confirm. Kinda catched that some days ago but cannot identify where exactly it fails. Yuri's repro is correct.