Skip to content

Commit

Permalink
fix: remove jump on cursor hold (stops low stiffness animations)
Browse files Browse the repository at this point in the history
  • Loading branch information
sphamba committed Dec 19, 2024
1 parent 7b54103 commit ca5d769
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 @@ -28,7 +28,7 @@ M.listen = function()
autocmd!
autocmd CursorMoved,CursorMovedI * lua require("smear_cursor.color").update_color_at_cursor()
autocmd CursorMoved,WinScrolled * lua require("smear_cursor.events").move_cursor()
autocmd CursorMovedI,CursorHold * lua require("smear_cursor.events").jump_cursor()
autocmd CursorMovedI * lua require("smear_cursor.events").jump_cursor()
autocmd ColorScheme * lua require("smear_cursor.color").clear_cache()
augroup END
]],
Expand Down

0 comments on commit ca5d769

Please sign in to comment.