We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
motion
1 parent 75de178 commit 0cadeb0Copy full SHA for 0cadeb0
lua/nvim-surround/buffer.lua
@@ -115,7 +115,7 @@ M.set_operator_marks = function(motion)
115
M.del_marks({ "[", "]" })
116
-- Set the [ and ] marks by calling an operatorfunc
117
vim.go.operatorfunc = "v:lua.require'nvim-surround.utils'.NOOP"
118
- vim.cmd.normal({ args = { "g@" .. motion }, bang = true })
+ vim.cmd.normal({ args = { "g@" .. motion } })
119
-- Adjust the marks to not reside on whitespace
120
M.adjust_mark("[")
121
M.adjust_mark("]")
0 commit comments