diff --git a/.config/nvim/lua/my/git.lua b/.config/nvim/lua/my/git.lua index 1318dee..a30a51b 100644 --- a/.config/nvim/lua/my/git.lua +++ b/.config/nvim/lua/my/git.lua @@ -12,7 +12,7 @@ neogit.setup { map('n', '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' },