Skip to content

Commit

Permalink
feat(bufferline): Order bufferline tabs by buffer id
Browse files Browse the repository at this point in the history
  • Loading branch information
walcht committed Sep 7, 2023
1 parent 95bfea8 commit 7338e99
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions after/plugin/bufferline.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ end
bufferline.setup {
options = {
mode = "buffers",
numbers = "none",
numbers = "ordinal",
close_command = "Bdelete! %d",
right_mouse_command = "Bdelete! %d",
left_mouse_command = "buffer %d",
Expand Down Expand Up @@ -34,8 +34,8 @@ bufferline.setup {
separator = true
}
},
color_icons = false,
show_buffer_icons = false,
color_icons = true,
show_buffer_icons = true,
show_buffer_close_icons = true,
show_close_icon = true,
show_tab_indicators = false,
Expand All @@ -49,6 +49,6 @@ bufferline.setup {
delay = 200,
reveal = {'close'}
},
sort_by = "extension",
sort_by = "id",
}
}

0 comments on commit 7338e99

Please sign in to comment.