feat: a link brings back the lazysecrets nvim hid; Azure shows its account
CI / Checks (pull_request) Successful in 40s
PR title / Conventional title (pull_request) Successful in 2s

- In nvim, lazysecrets asks lazysecrets.nvim whether its window is
  shown: a hidden one is brought back for a link, unless nvim is busy
  (typing, a command, a picker, mid-operator), when the link opens
  elsewhere. Without an answer (an older plugin), nothing changes.
- The Azure group is named for its account, Azure · alice, also with
  a single account; its ID, and so stars and cache, stay as they were.
This commit is contained in:
keb committed 2026-10-28 13:03:21 +01:00
1 parent 81a24dcee2
commit 833259a36d
7 files changed
+128 -8

No files matched your search

+3
View File
@@ -123,6 +123,9 @@ func (s *Server) handle(c net.Conn) {
switch req.Op {
case "status":
_, app, reach := place(req.Front)
if nvimState(context.Background()) == "busy" {
reach = unreachable // a link would interrupt you: it opens elsewhere
}
s.mu.Lock()
resp.Status = Status{PID: os.Getpid(), LastActive: s.active, Reach: reach, App: app}
s.mu.Unlock()