fix incorrect stating line number in fugitive COMMIT_EDITMSG
This commit is contained in:
1 parent
871664d491
commit
f75c631774
1 file changed
+1
-1
@@ -28,7 +28,7 @@ local group =
|
|||||||
local pos = vim.fn.line('\'"')
|
local pos = vim.fn.line('\'"')
|
||||||
if
|
if
|
||||||
pos >= 1 and pos <= vim.fn.line("$") and vim.bo.filetype ~= "commit" and
|
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
|
then
|
||||||
vim.cmd('normal! g`"')
|
vim.cmd('normal! g`"')
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in new issue
Block a user