Skip to content
This repository was archived by the owner on Dec 7, 2025. It is now read-only.

Commit 8458ac5

Browse files
committed
update
1 parent d2107ad commit 8458ac5

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

lua/strive/init.lua

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,9 @@ function Plugin:load(opts)
679679
self:call_setup()
680680

681681
self.status = STATUS.LOADED
682-
pcall(api.nvim_del_autocmd, self.group_id)
682+
if self.group_id then
683+
api.nvim_del_augroup_by_id(self.group_id)
684+
end
683685

684686
local deps_count = #self.dependencies
685687
-- Load dependencies in parallel

0 commit comments

Comments
 (0)