electric-operator
electric-operator copied to clipboard
Cannot insert a `=` before a `=` without surrounding it with spaces
If you, for instance, want to change a !=
to a ==
be replace !
with a =
electric-operator-mode will, incorrectly, insert source the prepending =
with a space.
Hi, yeah at the moment electric operator only looks backwards for operators. I'm not sure, but I suspect that looking forwards as well might add a lot of complexity and make the UX worse in some cases. I'll have a think about it sometime :slightly_smiling_face: