nvim: treat NeogitCommitMessage like gitcommit
This commit is contained in:
parent
11a6d895fb
commit
0f5675b963
|
@ -51,7 +51,7 @@ map('n', '<Leader>gg', neogit.open, 'Open Neogit')
|
||||||
vim.api.nvim_create_augroup('config_coding', { clear = true })
|
vim.api.nvim_create_augroup('config_coding', { clear = true })
|
||||||
vim.api.nvim_create_autocmd({ 'FileType' }, {
|
vim.api.nvim_create_autocmd({ 'FileType' }, {
|
||||||
group = 'config_coding',
|
group = 'config_coding',
|
||||||
pattern = { 'gitcommit', 'gitrebase' },
|
pattern = { 'gitcommit', 'gitrebase', 'NeogitCommitMessage' },
|
||||||
command = [[startinsert | 1]]
|
command = [[startinsert | 1]]
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user