lualine.nvim icon indicating copy to clipboard operation
lualine.nvim copied to clipboard

Bug: tab label is blank on oil

Open pedrohgmacedo opened this issue 7 months ago • 0 comments

Self Checks

  • [x] I'm using the latest lualine.
  • [x] I didn't find the issue in existing issues or PRs.

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

pedrohgmacedo avatar Jun 29 '24 05:06 pedrohgmacedo