nvim: autocmd: Fix luacheck warning

This commit is contained in:
Sanchayan Maity 2021-11-29 13:36:46 +05:30
parent 3bcae4c1c7
commit 677ec666e6

View file

@ -2,7 +2,7 @@ local vim = vim
local api = vim.api
--- This function is taken from https://github.com/norcalli/nvim_utils
function nvim_create_augroups(definitions)
local function nvim_create_augroups(definitions)
for group_name, definition in pairs(definitions) do
api.nvim_command('augroup '..group_name)
api.nvim_command('autocmd!')