feat: add smear cursor functionality for improved visual feedback
This commit is contained in:
@@ -158,4 +158,26 @@ return {
|
|||||||
'folke/twilight.nvim',
|
'folke/twilight.nvim',
|
||||||
opts = require('data.types').twilight,
|
opts = require('data.types').twilight,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
'sphamba/smear-cursor.nvim',
|
||||||
|
lazy = false,
|
||||||
|
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,
|
||||||
|
},
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
+12
-3
@@ -5,9 +5,18 @@
|
|||||||
-- ╰─────────────────────────────────────────────────────────╯
|
-- ╰─────────────────────────────────────────────────────────╯
|
||||||
|
|
||||||
return {
|
return {
|
||||||
{ -- mini.animate
|
-- { -- mini.animate
|
||||||
import = 'lazyvim.plugins.extras.ui.mini-animate',
|
-- import = 'lazyvim.plugins.extras.ui.mini-animate',
|
||||||
},
|
-- },
|
||||||
|
-- {
|
||||||
|
-- 'echasnovski/mini.animate',
|
||||||
|
-- version = false,
|
||||||
|
-- opts = {
|
||||||
|
-- cursor = {
|
||||||
|
-- enable = false,
|
||||||
|
-- },
|
||||||
|
-- },
|
||||||
|
-- },
|
||||||
{
|
{
|
||||||
'echasnovski/mini.move',
|
'echasnovski/mini.move',
|
||||||
event = 'VeryLazy',
|
event = 'VeryLazy',
|
||||||
|
|||||||
Reference in New Issue
Block a user