improv: moving in cwd with lsp renaming also writes all buffers

remotes/origin/HEAD
Chris Grieser 2024-04-17 12:25:07 +02:00
parent 3699e2aa58
commit 1e6855be88
1 changed files with 1 additions and 0 deletions

View File

@ -178,6 +178,7 @@ function M.moveToFolderInCwd()
local msg = ("Moved %q to %q"):format(filename, destination) local msg = ("Moved %q to %q"):format(filename, destination)
local append = lspSupportsRenaming and " and updated imports." or "." local append = lspSupportsRenaming and " and updated imports." or "."
u.notify(msg .. append) u.notify(msg .. append)
if lspSupportsRenaming then vim.cmd.wall() end
end end
end) end)
end end