How to focus summary window on toggle? #197
Answered
by
rcarriga
lawrence-laz
asked this question in
Q&A
-
I use |
Beta Was this translation helpful? Give feedback.
Answered by
rcarriga
Jan 25, 2023
Replies: 1 comment 5 replies
-
You can do this in your mapping callback neotest.summary.toggle()
local win = vim.fn.bufwinid("Neotest Summary")
if win > -1 then
vim.api.nvim_set_current_win(win)
end |
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
lawrence-laz
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can do this in your mapping callback