From 1fd0af14d592d612c2aaab7717c04c8806ba3daa Mon Sep 17 00:00:00 2001 From: Elvis Claros Castro Date: Thu, 11 Jul 2024 05:12:18 -0300 Subject: Feat: Todo actulizado --- lua/plugins/smooth-cursor.lua | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 lua/plugins/smooth-cursor.lua (limited to 'lua/plugins/smooth-cursor.lua') diff --git a/lua/plugins/smooth-cursor.lua b/lua/plugins/smooth-cursor.lua deleted file mode 100644 index 71fe431..0000000 --- a/lua/plugins/smooth-cursor.lua +++ /dev/null @@ -1,32 +0,0 @@ -return { - "gen740/SmoothCursor.nvim", - config = function() - require("smoothcursor").setup { cursor = "󰀫" } - - vim.api.nvim_set_hl(0, "SmoothCursor", { fg = "#8a9baa" }) - - local autocmd = vim.api.nvim_create_autocmd - - autocmd({ "ModeChanged" }, { - callback = function() - local current_mode = vim.fn.mode() - if current_mode == "n" then - vim.api.nvim_set_hl(0, "SmoothCursor", { fg = "#8a9baa" }) - vim.fn.sign_define("smoothcursor", { text = "󰀫" }) - elseif current_mode == "v" then - vim.api.nvim_set_hl(0, "SmoothCursor", { fg = "#bf616a" }) - vim.fn.sign_define("smoothcursor", { text = "" }) - elseif current_mode == "V" then - vim.api.nvim_set_hl(0, "SmoothCursor", { fg = "#bf616a" }) - vim.fn.sign_define("smoothcursor", { text = "" }) - elseif current_mode == "\22" then - vim.api.nvim_set_hl(0, "SmoothCursor", { fg = "#bf616a" }) - vim.fn.sign_define("smoothcursor", { text = "" }) - elseif current_mode == "i" then - vim.api.nvim_set_hl(0, "SmoothCursor", { fg = "#668aab" }) - vim.fn.sign_define("smoothcursor", { text = "" }) - end - end, - }) - end, -} -- cgit v1.2.3