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

Terminal buffers are not considered in the activation of the tabufline ui #34

Closed
Fabian-programmer opened this issue Nov 13, 2022 · 1 comment

Comments

@Fabian-programmer
Copy link
Contributor

Hey all,

the tabufline plugins gets activated, when there is more than 1 buffer open.
It seems like that terminal buffers are not considered.

Steps to reproduce:

  • open nvim

  • :term

  • :term

  • :buffers to check that there are several buffers available

for the sanity-check now open any file :e ~/.bashrc and the buffer ui appears.

@Fabian-programmer
Copy link
Contributor Author

Fabian-programmer commented Nov 13, 2022

Fix would be in
https://github.com/NvChad/ui/blob/main/lua/nvchad_ui/tabufline/lazyload.lua#L52

vim.api.nvim_create_autocmd({ "BufNewFile", "BufRead", "TabEnter, "TermOpen" }, {

I'm going to open a PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant