From 814f102cd1da3dc78c7d2f20f2ef3ed3cdf0e6e4 Mon Sep 17 00:00:00 2001 From: xieyonn Date: Tue, 25 Feb 2025 00:40:24 +0800 Subject: [PATCH] fix!(git_status): keep picker open if pwd is clean (#3415) Prevents picker from flickering open and closed. --- lua/telescope/builtin/__git.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lua/telescope/builtin/__git.lua b/lua/telescope/builtin/__git.lua index b242670..538d99c 100644 --- a/lua/telescope/builtin/__git.lua +++ b/lua/telescope/builtin/__git.lua @@ -407,9 +407,8 @@ git.status = function(opts) if count == 0 and prompt == "" then utils.notify("builtin.git_status", { msg = "No changes found", - level = "ERROR", + level = "INFO", }) - actions.close(self.prompt_bufnr) end end, },