1
0
Fork 0

nvim: fix variable scope

This commit is contained in:
tastytea 2022-09-28 12:54:17 +02:00
parent 00695a556e
commit eb92e19546
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
1 changed files with 1 additions and 1 deletions

View File

@ -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' },