Skip to content

Commit

Permalink
Merge pull request #673 from ayamir/chore/bufferline-4.0.0
Browse files Browse the repository at this point in the history
fix(bufferline): `show_buffer_default_icon` is now deprecate
  • Loading branch information
ayamir authored Apr 21, 2023
2 parents 62417b1 + ecaba00 commit 9189c59
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion lua/modules/configs/ui/bufferline.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,19 @@ return function()
color_icons = true,
show_buffer_icons = true,
show_buffer_close_icons = true,
show_buffer_default_icon = true,
show_close_icon = true,
show_tab_indicators = true,
enforce_regular_tabs = true,
persist_buffer_sort = true,
always_show_bufferline = true,
separator_style = "thin",
get_element_icon = function(buf)
return require("nvim-web-devicons").get_icon(
buf.name,
vim.bo.filetype,
{ default = true, strict = true }
)
end,
diagnostics = "nvim_lsp",
diagnostics_indicator = function(count)
return "(" .. count .. ")"
Expand Down

0 comments on commit 9189c59

Please sign in to comment.