feat: implement smear cursor functionality with customizable options

This commit is contained in:
2024-11-24 20:20:13 -05:00
parent a9203b51a9
commit 2b0b71d141
2 changed files with 31 additions and 16 deletions
+2 -16
View File
@@ -160,24 +160,10 @@ return {
},
{
'sphamba/smear-cursor.nvim',
lazy = false,
event = 'VeryLazy',
enabled = function()
return not require('data.func').is_neovide()
end,
opts = {
-- Cursor color. Defaults to Normal foreground color
cursor_color = '#d3cdc3',
-- Use floating windows to display smears outside buffers.
-- May have performance issues with other plugins.
use_floating_windows = true,
-- Set to `true` if your font supports legacy computing symbols (block unicode symbols).
-- Smears will blend better on all backgrounds.
legacy_computing_symbols_support = true,
-- Attempt to hide the real cursor when smearing.
hide_target_hack = true,
},
opts = require('data.types').smearcursor,
},
}