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.
1 parent 95fbe9f commit f3a8f5eCopy full SHA for f3a8f5e
lua/search-and-replace/state.lua
@@ -33,7 +33,8 @@ function state:create_buffer(scope, cb)
33
self.cleanup(self, scope)
34
local word = vim.fn.expand("<cword>")
35
cb(word)
36
- vim.cmd("cfdo %s/\\<" .. word .. "\\>/" .. text .. "/g | update")
+ vim.cmd("cfdo %s/\\<" .. word .. "\\>/" .. text .. "/g")
37
+ vim.cmd("cfdo update")
38
39
log.debug(scope, "replace done")
40
end)
0 commit comments