Skip to content

Commit c6bde8c

Browse files
committed
Updated bufferline
1 parent af2ed28 commit c6bde8c

File tree

1 file changed

+21
-20
lines changed

1 file changed

+21
-20
lines changed

lua/ad/plugins/bufferline.lua

+21-20
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,25 @@ local M = {
22
"akinsho/bufferline.nvim",
33
}
44

5-
function M.config()
6-
require("bufferline").setup({
7-
options = {
8-
numbers = "none", -- 'none' | 'ordinal' | 'buffer_id' | function({ ordinal, id, lower, raise }): string,
9-
close_command = "bdelete! %d", -- can be a string | function, see "Mouse actions"
10-
right_mouse_command = "bdelete! %d",
11-
left_mouse_command = "buffer %d",
12-
middle_mouse_command = nil,
13-
indicator_icon = '',
14-
buffer_close_icon = '',
15-
modified_icon = '',
16-
close_icon = '',
17-
separator_style = "slant", -- "slant" | "thick" | "thin" | { 'any', 'any' },
18-
enforce_regular_tabs = false,
19-
always_show_bufferline = true,
20-
sort_by = 'id', -- 'id' | 'extension' | 'relative_directory' | 'directory' | 'tabs'
21-
},
22-
})
23-
end
24-
255
return M
6+
7+
--function M.config()
8+
-- require("bufferline").setup({
9+
-- options = {
10+
-- numbers = "none", -- 'none' | 'ordinal' | 'buffer_id' | function({ ordinal, id, lower, raise }): string,
11+
-- close_command = "bdelete! %d", -- can be a string | function, see "Mouse actions"
12+
-- right_mouse_command = "bdelete! %d",
13+
-- left_mouse_command = "buffer %d",
14+
-- middle_mouse_command = nil,
15+
-- indicator_icon = '▎',
16+
-- buffer_close_icon = '',
17+
-- modified_icon = '●',
18+
-- close_icon = '',
19+
-- separator_style = "slant", -- "slant" | "thick" | "thin" | { 'any', 'any' },
20+
-- enforce_regular_tabs = false,
21+
-- always_show_bufferline = true,
22+
-- sort_by = 'id', -- 'id' | 'extension' | 'relative_directory' | 'directory' | 'tabs'
23+
-- },
24+
-- })
25+
--end
26+

0 commit comments

Comments
 (0)