summaryrefslogtreecommitdiffstats
path: root/lua/conf/plugins/smear.lua
blob: 4e0e05132e78a91646be756059a2d6344f9440c2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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
}