From 1e6855be88e2266c612903dbc337222b59a06e44 Mon Sep 17 00:00:00 2001 From: Chris Grieser <73286100+chrisgrieser@users.noreply.github.com> Date: Wed, 17 Apr 2024 12:25:07 +0200 Subject: [PATCH] improv: moving in cwd with lsp renaming also writes all buffers --- lua/genghis/init.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/genghis/init.lua b/lua/genghis/init.lua index f849e19..a2717f5 100644 --- a/lua/genghis/init.lua +++ b/lua/genghis/init.lua @@ -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