nvim: fix variable scope
This commit is contained in:
parent
00695a556e
commit
eb92e19546
|
@ -12,7 +12,7 @@ neogit.setup {
|
|||
map('n', '<Leader>gg', neogit.open, 'Open Neogit')
|
||||
|
||||
-- start git commits in insert mode
|
||||
gitgroup = vim.api.nvim_create_augroup('config_git', { clear = true })
|
||||
local gitgroup = vim.api.nvim_create_augroup('config_git', { clear = true })
|
||||
vim.api.nvim_create_autocmd({ 'FileType' }, {
|
||||
group = gitgroup,
|
||||
pattern = { 'gitcommit', 'gitrebase' },
|
||||
|
|
Loading…
Reference in New Issue
Block a user