From c3c4895179d4bc5a00e22fdf129d41c1af96226a Mon Sep 17 00:00:00 2001 From: CalebLarsen <43345286+CalebLarsen@users.noreply.github.com> Date: Wed, 25 Jun 2025 08:21:24 -0500 Subject: [PATCH] fix: Make code-action popup auto close like other popups (#13832) --- helix-term/src/commands/lsp.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/helix-term/src/commands/lsp.rs b/helix-term/src/commands/lsp.rs index a6d4b424d..ac9dd6e27 100644 --- a/helix-term/src/commands/lsp.rs +++ b/helix-term/src/commands/lsp.rs @@ -807,7 +807,9 @@ pub fn code_action(cx: &mut Context) { }); picker.move_down(); // pre-select the first item - let popup = Popup::new("code-action", picker).with_scrollbar(false); + let popup = Popup::new("code-action", picker) + .with_scrollbar(false) + .auto_close(true); compositor.replace_or_push("code-action", popup); };