nvim-lualine / lualine.nvim

A blazing fast and easy to configure neovim statusline plugin written in pure lua.
MIT License
5.71k stars 455 forks source link

Bug: tab label is blank on oil #1267

Open pedrohgmacedo opened 1 week ago

pedrohgmacedo commented 1 week ago

Self Checks

How to reproduce the problem

When 'editing' a dir with oil, the tab label is blank on the following config due to this line

For example, the bufname oil:///C/Users/pedro/.local/share/nvim-data/lazy/oil.nvim/doc/ is escaped to .

Minimal config to reproduce the issue

tabline = {
  lualine_a = {},
  lualine_b = {},
  lualine_c = {
    {
      "tabs",
      mode = 2,
      max_length = vim.o.columns,
      use_mode_colors = false,
      tabs_color = {
        active = "lualine_a_inactive",
        inactive = "lualine_c_inactive",
      },
    },
  },
  lualine_x = {},
  lualine_y = {},
  lualine_z = {},
},

Additional information