fix incorrect stating line number in fugitive COMMIT_EDITMSG

This commit is contained in:
sgraves committed 2026-08-23 17:14:32 -05:00
1 parent 871664d491
commit f75c631774
1 file changed
+1 -1
+1 -1
View File
@@ -28,7 +28,7 @@ local group =
local pos = vim.fn.line('\'"')
if
pos >= 1 and pos <= vim.fn.line("$") and vim.bo.filetype ~= "commit" and
vim.bo.filetype ~= "rebase"
vim.bo.filetype ~= "gitcommit" and vim.bo.filetype ~= "rebase"
then
vim.cmd('normal! g`"')
end