refactor(nvim): disable neoscroll when using Neovide
This commit is contained in:
parent
fbdfe304a8
commit
16186c3f0f
@ -2,6 +2,11 @@ return {
|
|||||||
{
|
{
|
||||||
"karb94/neoscroll.nvim",
|
"karb94/neoscroll.nvim",
|
||||||
event = "WinScrolled",
|
event = "WinScrolled",
|
||||||
|
config = function(opts)
|
||||||
|
if not vim.g.neovide then
|
||||||
|
require("neoscroll").setup(opts)
|
||||||
|
end
|
||||||
|
end,
|
||||||
opts = {
|
opts = {
|
||||||
easing_function = "circular",
|
easing_function = "circular",
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user