Skip to content

Commit

Permalink
improv: moving in cwd with lsp renaming also writes all buffers
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisgrieser committed Apr 17, 2024
1 parent 3699e2a commit 1e6855b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lua/genghis/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ function M.moveToFolderInCwd()
local msg = ("Moved %q to %q"):format(filename, destination)
local append = lspSupportsRenaming and " and updated imports." or "."
u.notify(msg .. append)
if lspSupportsRenaming then vim.cmd.wall() end
end
end)
end
Expand Down

0 comments on commit 1e6855b

Please sign in to comment.