We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a64630 commit a3c4092Copy full SHA for a3c4092
lua/neogit/autocmds.lua
@@ -16,7 +16,9 @@ function M.setup()
16
end
17
18
-- Do not trigger on neogit buffers such as commit
19
- if api.nvim_buf_get_option(o.buf, "filetype"):find("Neogit") then
+ if api.nvim_buf_get_option(o.buf, "filetype"):find("Neogit")
20
+ or api.nvim_buf_get_option(o.buf, "filetype"):find("gitcommit")
21
+ then
22
return
23
24
0 commit comments