summaryrefslogtreecommitdiff
path: root/ar
diff options
context:
space:
mode:
Diffstat (limited to 'ar')
-rw-r--r--ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/mini.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/mini.lua b/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/mini.lua
index ee08c4a..122f08d 100644
--- a/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/mini.lua
+++ b/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/mini.lua
@@ -941,6 +941,10 @@ return {
pattern = "MiniFilesExplorerOpen",
callback = function()
local bufnr = vim.api.nvim_get_current_buf()
+ local path = vim.api.nvim_buf_get_name(bufnr)
+ if path:match("^minifiles://") then
+ return
+ end
updateGitStatus(bufnr)
end,
})