feat: enhance cursor functionality with smear cursor integration
This commit is contained in:
@@ -8,6 +8,7 @@ return {
|
|||||||
{ -- Aerial
|
{ -- Aerial
|
||||||
import = 'lazyvim.plugins.extras.editor.aerial',
|
import = 'lazyvim.plugins.extras.editor.aerial',
|
||||||
},
|
},
|
||||||
|
{ import = 'lazyvim.plugins.extras.ui.smear-cursor' },
|
||||||
{ -- Dial
|
{ -- Dial
|
||||||
import = 'lazyvim.plugins.extras.editor.dial',
|
import = 'lazyvim.plugins.extras.editor.dial',
|
||||||
},
|
},
|
||||||
@@ -177,14 +178,19 @@ return {
|
|||||||
{ -- Smear Cursor
|
{ -- Smear Cursor
|
||||||
'sphamba/smear-cursor.nvim',
|
'sphamba/smear-cursor.nvim',
|
||||||
event = 'VeryLazy',
|
event = 'VeryLazy',
|
||||||
enabled = function()
|
enabled = function() -- Allow kitty and neovide to use native features
|
||||||
return not require('data.func').is_neovide()
|
return not require('data.func').is_neovide()
|
||||||
|
and not require('data.func').is_kitty()
|
||||||
end,
|
end,
|
||||||
opts = require('data.types').smearcursor,
|
opts = require('data.types').smearcursor,
|
||||||
},
|
},
|
||||||
{ -- Neoscroll
|
{ -- Neoscroll
|
||||||
'karb94/neoscroll.nvim',
|
'karb94/neoscroll.nvim',
|
||||||
event = 'VeryLazy',
|
event = 'VeryLazy',
|
||||||
|
enabled = function() -- Allow kitty and neovide to use native features
|
||||||
|
return not require('data.func').is_neovide()
|
||||||
|
and not require('data.func').is_kitty()
|
||||||
|
end,
|
||||||
opts = {},
|
opts = {},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user