fix: remove auto commands in lualine group properly on lualine reset (#488)

This commit is contained in:
James Yin 2021-12-13 20:22:30 +08:00 committed by GitHub
parent 5596c2a25a
commit c4a09735a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -278,7 +278,7 @@ local function reset_lualine()
-- When notices module is not loaded there are no notices to clear.
modules.utils_notices.clear_notices()
end
vim.cmd [[augroup lualine | autocmd! | augroup END]]
vim.cmd [[augroup lualine | exe "autocmd!" | augroup END]]
setup_theme()
-- load components & extensions
modules.loader.load_all(config)