We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ba76c9 commit 201ddecCopy full SHA for 201ddec
lua/cinnamon/config.lua
@@ -63,9 +63,7 @@ function M.setup(user_config)
63
user_config.options.delay = user_config.options.delay or user_config.default_delay
64
user_config.options.max_delta = user_config.options.max_delta or {}
65
if user_config.scroll_limit ~= nil then
66
- if user_config.scroll_limit < 0 then
67
- user_config.options.max_delta.line = 9999
68
- else
+ if user_config.scroll_limit >= 0 then
69
user_config.options.max_delta.line = user_config.scroll_limit
70
end
71
0 commit comments