refactor(nvim): remove auto insert in gitcommit
This commit is contained in:
parent
7686143ac2
commit
8d6a734937
@ -14,14 +14,6 @@ return {
|
||||
end,
|
||||
})
|
||||
|
||||
vim.api.nvim_create_autocmd("FileType", {
|
||||
pattern = "gitcommit",
|
||||
callback = function()
|
||||
vim.api.nvim_win_set_cursor(0, { 1, 0 })
|
||||
vim.cmd.startinsert()
|
||||
end,
|
||||
})
|
||||
|
||||
require("neogit").setup({
|
||||
disable_insert_on_commit = true,
|
||||
disable_commit_confirmation = true,
|
||||
|
Loading…
Reference in New Issue
Block a user