From 16186c3f0f8a33db11c0c7e9fb09be79509ff260 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Mon, 26 Feb 2024 22:47:31 -0600 Subject: [PATCH] refactor(nvim): disable neoscroll when using Neovide --- dots/.config/nvim/lua/plugins/configs/neoscroll.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dots/.config/nvim/lua/plugins/configs/neoscroll.lua b/dots/.config/nvim/lua/plugins/configs/neoscroll.lua index f29e575a..b775d1f7 100644 --- a/dots/.config/nvim/lua/plugins/configs/neoscroll.lua +++ b/dots/.config/nvim/lua/plugins/configs/neoscroll.lua @@ -2,6 +2,11 @@ return { { "karb94/neoscroll.nvim", event = "WinScrolled", + config = function(opts) + if not vim.g.neovide then + require("neoscroll").setup(opts) + end + end, opts = { easing_function = "circular", },