fix(prevent_buffer_override): Go to next buffer after switching windows
Else it goes straight to the first window
This commit is contained in:
@@ -114,8 +114,8 @@ function M._prevent_buffer_override()
|
||||
end
|
||||
|
||||
vim.cmd("buffer " .. curbuf)
|
||||
vim.cmd("bnext")
|
||||
vim.cmd("wincmd r")
|
||||
vim.cmd("bprev")
|
||||
end)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user