diff options
author | Squibid <me@zacharyscheiman.com> | 2025-01-24 13:56:11 -0600 |
---|---|---|
committer | Squibid <me@zacharyscheiman.com> | 2025-01-24 13:56:11 -0600 |
commit | 8eaa615596be321a3be12378c5e7d65cc7e482b6 (patch) | |
tree | 53fe601048ea302962420de4feff465e4c7d9317 /lua/conf/plugins/smear.lua | |
parent | a0ebc39b59a98a69fbb6abf150f86dc4e19987a3 (diff) | |
download | nvim-8eaa615596be321a3be12378c5e7d65cc7e482b6.tar.gz nvim-8eaa615596be321a3be12378c5e7d65cc7e482b6.tar.bz2 nvim-8eaa615596be321a3be12378c5e7d65cc7e482b6.zip |
Diffstat (limited to 'lua/conf/plugins/smear.lua')
-rw-r--r-- | lua/conf/plugins/smear.lua | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lua/conf/plugins/smear.lua b/lua/conf/plugins/smear.lua new file mode 100644 index 0000000..4e0e051 --- /dev/null +++ b/lua/conf/plugins/smear.lua @@ -0,0 +1,13 @@ +-- yea it's a bit flashy, but it's genuenly useful to be able to tell where my +-- cursor has gone +return { 'sphamba/smear-cursor.nvim', + disable = vim.version.lt(vim.version(), { 0, 10, 2 }) or vim.g.neovide_version, + function() + require('smear_cursor').setup { + stiffness = 0.8, -- 0.6 [0, 1] + trailing_stiffness = 0.5, -- 0.3 [0, 1] + distance_stop_animating = 0.5, -- 0.1 > 0 + hide_target_hack = false -- true boolean + } + end +} |