From b7acc379bfc5198cc3eeb7d9a57385590f585022 Mon Sep 17 00:00:00 2001 From: rootiest Date: Wed, 11 Dec 2024 14:57:39 -0500 Subject: [PATCH] feat: enhance cursor functionality with smear cursor integration --- lua/plugins/editor.lua | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lua/plugins/editor.lua b/lua/plugins/editor.lua index 5f24fc4..687ce0b 100644 --- a/lua/plugins/editor.lua +++ b/lua/plugins/editor.lua @@ -8,6 +8,7 @@ return { { -- Aerial import = 'lazyvim.plugins.extras.editor.aerial', }, + { import = 'lazyvim.plugins.extras.ui.smear-cursor' }, { -- Dial import = 'lazyvim.plugins.extras.editor.dial', }, @@ -177,14 +178,19 @@ return { { -- Smear Cursor 'sphamba/smear-cursor.nvim', event = 'VeryLazy', - enabled = function() + 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 = require('data.types').smearcursor, }, { -- Neoscroll 'karb94/neoscroll.nvim', 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 = {}, }, }