-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuffer.lua
More file actions
25 lines (25 loc) · 760 Bytes
/
buffer.lua
File metadata and controls
25 lines (25 loc) · 760 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
return {
"akinsho/bufferline.nvim",
event = "VeryLazy",
keys = function()
return require("config.keymaps").get_keys("buffer")
end,
opts = function(_, opts)
opts.options = vim.tbl_deep_extend("force", opts.options or {}, {
close_command = function(n) Snacks.bufdelete(n) end,
diagnostics = "nvim_lsp",
offsets = {
{
filetype = "neo-tree",
text = "Neo-tree",
highlight = "Directory",
text_align = "left",
},
{
filetype = "snacks_layout_box",
},
},
always_show_bufferline = false,
})
end,
}