clean up!
This commit is contained in:
parent
aa9667a5de
commit
3330d1cc06
14 changed files with 68 additions and 101 deletions
|
|
@ -10,7 +10,6 @@ bufferline.setup {
|
|||
offsets = { { filetype = "NvimTree", text = "", padding = 1 } },
|
||||
buffer_close_icon = "",
|
||||
modified_icon = "",
|
||||
-- close_icon = "%@NvChad_bufferline_quitvim@%X",
|
||||
close_icon = "",
|
||||
show_close_icon = true,
|
||||
left_trunc_marker = "",
|
||||
|
|
@ -24,7 +23,7 @@ bufferline.setup {
|
|||
show_buffer_close_icons = true,
|
||||
separator_style = "thin",
|
||||
always_show_bufferline = true,
|
||||
diagnostics = false, -- "or nvim_lsp"
|
||||
diagnostics = false,
|
||||
custom_filter = function(buf_number)
|
||||
-- Func to filter out our managed/persistent split terms
|
||||
local present_type, type = pcall(function()
|
||||
|
|
@ -36,12 +35,11 @@ bufferline.setup {
|
|||
return false
|
||||
elseif type == "hori" then
|
||||
return false
|
||||
else
|
||||
return true
|
||||
end
|
||||
else
|
||||
return true
|
||||
end
|
||||
|
||||
return true
|
||||
end,
|
||||
},
|
||||
|
||||
|
|
@ -121,6 +119,7 @@ bufferline.setup {
|
|||
guifg = colors.black2,
|
||||
guibg = colors.black2,
|
||||
},
|
||||
|
||||
-- tabs
|
||||
tab = {
|
||||
guifg = colors.light_grey,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue