From f75c631774cb29a917d4d9fa1e6d331a7ed06e8e Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Sun, 23 Aug 2026 17:14:32 -0500 Subject: [PATCH] fix incorrect stating line number in fugitive COMMIT_EDITMSG --- nvim/lua/darcula/autocmds.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nvim/lua/darcula/autocmds.lua b/nvim/lua/darcula/autocmds.lua index f9e719c..1fc97fe 100644 --- a/nvim/lua/darcula/autocmds.lua +++ b/nvim/lua/darcula/autocmds.lua @@ -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