Skip to content

Commit

Permalink
Fix variable (sign_winid -> bar_winid)
Browse files Browse the repository at this point in the history
  • Loading branch information
dstein64 committed Sep 29, 2024
1 parent fe5eb36 commit 2a0ba55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/scrollview.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1451,7 +1451,7 @@ local show_scrollbar = function(winid, bar_winid)
set_window_option(bar_winid, 'foldcolumn', '0') -- foldcolumn takes a string
set_window_option(bar_winid, 'foldenable', false)
-- Don't inherit 'foldmethod'. It could slow down scrolling. #135
set_window_option(sign_winid, 'foldmethod', 'manual')
set_window_option(bar_winid, 'foldmethod', 'manual')
set_window_option(bar_winid, 'wrap', false)
api.nvim_win_set_var(bar_winid, WIN_VAR, WIN_VAL)
local props = {
Expand Down

0 comments on commit 2a0ba55

Please sign in to comment.