diff --git a/.config/nvim/lua/plugins/bufferline.lua b/.config/nvim/lua/plugins/bufferline.lua index e0ce577..543a341 100644 --- a/.config/nvim/lua/plugins/bufferline.lua +++ b/.config/nvim/lua/plugins/bufferline.lua @@ -5,8 +5,17 @@ return { opts = { options = { mode = "tabs", + themable = true, separator_style = "slant", diagnostics = "nvim_lsp", + -- diagnostics_indicator = function(count, level, diagnostics_dict, context) + -- local s = " " + -- for e, n in pairs(diagnostics_dict) do + -- local sym = e == "error" and " " or (e == "warning" and " " or " ") + -- s = s .. n .. sym + -- end + -- return s + -- end, always_show_bufferline = false, show_tab_indicators = true, color_icons = true, @@ -16,10 +25,14 @@ return { style = "underline", }, offsets = { - filetype = "NvimTree", - text = "File Explorer", - text_align = "left", - separator = true, + { + filetype = "NvimTree", + text = function() + return vim.fn.getcwd() + end, + highlight = "Directory", + separator = true, + }, }, }, },