Skip to content

Commit

Permalink
fix(events): clear augroup instead of deleting
Browse files Browse the repository at this point in the history
  • Loading branch information
scottmckendry authored and sphamba committed Feb 3, 2025
1 parent 5d6cd88 commit 8555bae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/smear_cursor/events.lua
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ M.listen = function()
end

M.unlisten = function()
vim.api.nvim_del_augroup_by_name("SmearCursor")
vim.api.nvim_clear_autocmds({ group = "SmearCursor" })
vim.on_key(nil, cursor_namespace)
end

Expand Down

0 comments on commit 8555bae

Please sign in to comment.