fix!(git_status): keep picker open if pwd is clean (#3415)
Prevents picker from flickering open and closed.
This commit is contained in:
@@ -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,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user