Skip to content

Commit

Permalink
fix: incorrect function name in sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
willothy committed Jul 26, 2023
1 parent 056da25 commit c2842a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/cokeline/sidebar.lua
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ local get_components = function(side)
if width > sidebar_width then
sort(sidebar_components, rendering.by_decreasing_priority)
components.shorten(sidebar_components, sidebar_width)
sort(sidebar_components, rendering.by_decreasing_index)
sort(sidebar_components, rendering.by_increasing_index)
elseif width < sidebar_width then
local space_left = sidebar_width - width
local last = #sidebar_components
Expand Down

0 comments on commit c2842a5

Please sign in to comment.