Closed mardamkada closed 1 year ago
Have you tried setting the alias keys to false
instead of an empty table?
I hadn't. That does work. I guess I read the help too hastily and missed that, please excuse the unneeded issue.
No worries, glad to help :)
Checklist
:h nvim-surround
to see if there might be any relevant information there?Neovim Version
0.8.3
Plugin Version
Tagged (Stable)
Minimal Configuration
Sample Buffer
[bold]hello[/bold] world
Keystroke Sequence
dsbdsi
Expected behavior
the surrounding [bold][/bold] text should be deleted with the
dsb
sequence.Actual behavior
surrounding [bold][/bold] text remains after
dsb
but gets deleted with thedsi
sequence.Additional context
Setting the aliases table to empty (i.e.
aliases = {}
) doesn't seem to work at all, whereas setting specific aliases to empty (e.g.aliases = {["b"] = {}}
) seems to delete the alias but not allow for overwriting the 'ds' and 'cs' keys.