mirror of
https://github.com/neovim/neovim.git
synced 2026-07-10 11:29:39 +00:00
fix(:checkhealth): open after current tabpage (#40319)
This commit is contained in:
@@ -427,7 +427,7 @@ function M._check(eap)
|
||||
elseif emptybuf then
|
||||
vim.cmd.buffer(bufnr)
|
||||
else
|
||||
vim.cmd.sbuffer { bufnr, mods = { tab = 1 } }
|
||||
vim.cmd.sbuffer { bufnr, mods = { tab = vim.api.nvim_tabpage_get_number(0) } }
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user