feat: remap organization and cleanup
This commit is contained in:
@@ -53,31 +53,31 @@ local config = {
|
||||
toggle_hidden_on_enter = true, -- when you re-enter a hidden group this options re-opens that group so the buffer is visible
|
||||
},
|
||||
items = {
|
||||
-- {
|
||||
-- name = "Tests",
|
||||
-- -- icon = " ",
|
||||
-- highlight = { underline = false },
|
||||
-- priority = 2,
|
||||
-- matcher = function(buf)
|
||||
-- return buf.path:match("%.test") or buf.path:match("%_test") or buf.path:match("%_spec")
|
||||
-- end,
|
||||
-- },
|
||||
-- {
|
||||
-- name = "Docs",
|
||||
-- -- icon = " ",
|
||||
-- priority = 3,
|
||||
-- -- highlight = { undercurl = false, sp = "grey" },
|
||||
-- highlight = { undercurl = false },
|
||||
-- auto_close = false,
|
||||
-- matcher = function(buf)
|
||||
-- return buf.path:match("%.md") or buf.path:match("%.txt")
|
||||
-- end,
|
||||
-- separator = {
|
||||
-- style = require("bufferline.groups").separator.tab,
|
||||
-- },
|
||||
-- },
|
||||
{
|
||||
name = "Tests",
|
||||
-- icon = " ",
|
||||
highlight = { underline = false },
|
||||
priority = 2,
|
||||
matcher = function(buf)
|
||||
return buf.path:match("%.test") or buf.path:match("%_test") or buf.path:match("%_spec")
|
||||
end,
|
||||
},
|
||||
{
|
||||
name = "Docs",
|
||||
-- icon = " ",
|
||||
priority = 3,
|
||||
-- highlight = { undercurl = false, sp = "grey" },
|
||||
highlight = { undercurl = false },
|
||||
auto_close = false,
|
||||
matcher = function(buf)
|
||||
return buf.path:match("%.md") or buf.path:match("%.txt")
|
||||
end,
|
||||
separator = {
|
||||
style = require("bufferline.groups").separator.tab,
|
||||
},
|
||||
},
|
||||
{
|
||||
name = "Shells",
|
||||
name = "Sh",
|
||||
-- icon = " ",
|
||||
highlight = { undercurl = false },
|
||||
auto_close = false,
|
||||
|
||||
Reference in New Issue
Block a user