Closed unthingable closed 3 months ago
Fixed in 99325a7ff4436388d220949f8b65662d5d4756aa. This was a "feature" inherited from the original author of the extension, meant to replace a variable with an anonymous variable. But as implemented it also affected atoms. As users often write named anonymous variables instead of just _
, this feature usefulness is rather limited and its behavior unexpected and annoying outside this single usage case.
Many thanks. Seeing mentions of parentheses in the commit I wonder if that also fixes the deindent upon )
, another annoying heritage.
Please fill a separated issue for the de-indentation issue you mentioned with details on how to reproduce.
To reproduce:
foo(Bar)
, place cursor beforeB
_
foo(Bar)
becomesfoo(_)
Expected:
foo(Bar)
becomesfoo(_Bar)
.