Closed pedro757 closed 1 year ago
Can you try the untagged version of the plugin and see if the issue persists?
I just checked this out, and it works fine in the stable version but not in the latest version. I corrected the description of the issue. sorry.
Try the latest commit, it should fix the issue. If not, feel free to re-open this issue.
Thank you, it's working now.
Checklist
:h nvim-surround
to see if there might be any relevant information there?Neovim Version
NVIM v0.9.0-dev-869+g964ae205a Build type: RelWithDebInfo LuaJIT 2.1.0-beta3
Plugin Version
Latest
Minimal Configuration
require("nvim-surround").setup()
Sample Buffer
Keystroke Sequence
With the cursor on
value
in theonClick
call, usedsf
Expected behavior
Actual behavior
Additional context
The problem here is that it deletes an extra character ( { ) at the beginning