From 4004b263199fe32daf40265f711a01b6d76efd6d Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Sat, 4 Nov 2023 16:35:20 -0500 Subject: [PATCH] perf(nvim): remove SmoothCursor This plugin casues Neovim to hitch and freeze quite a bit. Not worth it at all. --- .../nvim/lua/plugins/configs/kanagawa.lua | 6 ------ .../nvim/lua/plugins/configs/statuscol.lua | 21 ------------------- 2 files changed, 27 deletions(-) diff --git a/dots/.config/nvim/lua/plugins/configs/kanagawa.lua b/dots/.config/nvim/lua/plugins/configs/kanagawa.lua index c0e5e7e3..2b73de42 100644 --- a/dots/.config/nvim/lua/plugins/configs/kanagawa.lua +++ b/dots/.config/nvim/lua/plugins/configs/kanagawa.lua @@ -165,12 +165,6 @@ return { TSRainbowGreen = { fg = colors.springGreen }, TSRainbowViolet = { fg = colors.oniViolet }, TSRainbowCyan = { fg = colors.lightBlue }, - SmoothCursorCursor = { fg = colors.roninYellow }, - SmoothCursorTrailBig1 = { fg = colors.autumnYellow }, - SmoothCursorTrailBig2 = { fg = colors.crystalBlue }, - SmoothCursorTrailMedium = { fg = colors.oniViolet }, - SmoothCursorTrailSmall = { fg = colors.springBlue }, - SmoothCursorTrailXSmall = { fg = colors.waveAqua2 }, TreesitterContext = { bg = colors.sumiInk0 }, FloatTitle = { bg = "NONE" }, DiffviewFilePanelTitle = { fg = colors.crystalBlue }, diff --git a/dots/.config/nvim/lua/plugins/configs/statuscol.lua b/dots/.config/nvim/lua/plugins/configs/statuscol.lua index 2f3c53a5..7b729836 100644 --- a/dots/.config/nvim/lua/plugins/configs/statuscol.lua +++ b/dots/.config/nvim/lua/plugins/configs/statuscol.lua @@ -1,25 +1,4 @@ return { - { - "gen740/SmoothCursor.nvim", - event = { "BufReadPre", "BufNewFile" }, - opts = { - priority = 8, - fancy = { - enable = true, - head = { cursor = "⯈", texthl = "SmoothCursorCursor", linehl = nil }, - body = { - { cursor = "", texthl = "SmoothCursorTrailBig1" }, - { cursor = "", texthl = "SmoothCursorTrailBig2" }, - { cursor = "󰝥", texthl = "SmoothCursorTrailMedium" }, - { cursor = "󰝥", texthl = "SmoothCursorTrailMedium" }, - { cursor = "•", texthl = "SmoothCursorTrailSmall" }, - { cursor = ".", texthl = "SmoothCursorTrailXSmall" }, - { cursor = ".", texthl = "SmoothCursorTrailXSmall" }, - }, - }, - disabled_filetypes = { "NeogitNotification" }, - }, - }, { "luukvbaal/statuscol.nvim", opts = function()