Replies: 4 comments 2 replies
-
It's possible this is coming from another part of your config. One way to check would be to |
Beta Was this translation helpful? Give feedback.
-
well i think you are right, i tested just the neogit plugin and it does not have the popup... |
Beta Was this translation helpful? Give feedback.
-
turns out it's due to an autocmd i setup:
|
Beta Was this translation helpful? Give feedback.
-
thanks for this issue, saves time to figure out what was going on. This workaround fixes it: vim.api.nvim_create_autocmd("BufLeave", {
pattern = "*", -- Trigger on all buffers
callback = function()
local filetype = vim.bo.filetype
if not string.match(filetype, "^Neogit") then
vim.cmd("silent! wall")
end
end,
nested = true,
})
|
Beta Was this translation helpful? Give feedback.
-
i use the default setting for neogit latest (commit 9bc4ee8) with minor changes in lazyvim as below:
but whenever i press c c to commit i always get the pop up as shown in the figure below, even i manually delete the commit_editmsg right before i press c to commit, the file comes back and this popup shows up ...
Did i made any mistake? or is there a configuration for that .
Beta Was this translation helpful? Give feedback.
All reactions