Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: tab label is blank on oil #1267

Open
2 tasks done
pedrohgmacedo opened this issue Jun 29, 2024 · 0 comments
Open
2 tasks done

Bug: tab label is blank on oil #1267

pedrohgmacedo opened this issue Jun 29, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@pedrohgmacedo
Copy link

pedrohgmacedo commented Jun 29, 2024

Self Checks

  • I'm using the latest lualine.
  • 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 pedrohgmacedo added the bug Something isn't working label Jun 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant