feat: a link brings a hidden lazysecrets back, unless nvim is busy #6

Merged
keb merged 2 commits from feat/reveal into main 2026-10-28 13:18:46 +01:00
Showing only changes of commit 41bdffcbdb - Show all commits
+2 -1
View File
@@ -61,7 +61,8 @@ assert(vim.api.nvim_win_get_config(0).relative == "", "reveal() showed the windo
vim.api.nvim_get_mode = get_mode
assert(m.reveal(pid), "reveal() of the hidden window")
assert(vim.api.nvim_win_get_config(0).relative == "editor" and vim.fn.jobpid(job()) == pid, "reveal() didn't bring the window back")
assert(vim.api.nvim_win_get_config(0).relative == "editor", "reveal() didn't bring the window back")
assert(vim.fn.jobpid(job()) == pid, "reveal() brought back another lazysecrets")
vim.fn.delete(tmp, "rf")
print("ok")