sublime_valign icon indicating copy to clipboard operation
sublime_valign copied to clipboard

Splits ===

Open erbridge opened this issue 10 years ago • 3 comments

Running VAlign on === created == =, which break the syntax (valid in JavaScript).

erbridge avatar Jul 21 '15 17:07 erbridge

Apologies for the late reply. === alignment should be supported -- can you post an example of the exact text you're trying to align when this problem occurs?

jarod2d avatar Aug 10 '15 02:08 jarod2d

Sure.

This:

var first = a === b;
var second = c;

Becomes:

var first  = a == = b;
var second = c;

erbridge avatar Aug 10 '15 15:08 erbridge

Sorry again for the late replies. That's interesting -- it's definitely a bug. I won't have time to look into this in the near future, unfortunately, but I'll try to take a look at it the next time I can work on the plugin.

jarod2d avatar Aug 27 '15 03:08 jarod2d