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

vim-buffet display strange. #65

Open
iysheng opened this issue Aug 27, 2021 · 3 comments
Open

vim-buffet display strange. #65

iysheng opened this issue Aug 27, 2021 · 3 comments

Comments

@iysheng
Copy link
Contributor

iysheng commented Aug 27, 2021

When I open vim, i could not see new tabline style, but just see as:
hlMkvD.png
It's strange that I let g:buffet_always_show_tabline = 0, but i still could see the tabline and besides the style is also default style.

@hewcaw
Copy link
Collaborator

hewcaw commented Aug 27, 2021

Did you install a nerd font and vim-devicons plugin? And do you use neovim? There are couple of tabline plugins that are being under active development unlike vim-buffet and they have a lot of cooler features too:

@iysheng
Copy link
Contributor Author

iysheng commented Aug 28, 2021

Did you install a nerd font and vim-devicons plugin? And do you use neovim? There are couple of tabline plugins that are being under active development unlike vim-buffet and they have a lot of cooler features too:

* https://github.com/romgrk/barbar.nvim

* https://github.com/akinsho/bufferline.nvim

The issue is same as #20 , After I add line as:

let g:lightline = {
      \ 'enable': { 'tabline': 0 } ,
      \ }

I can see the tabline now, besides how could i change the color like this :

I want to change the blue background and the gray backgroud, but ater I change

function! g:BuffetSetCustomColors()
  hi! BuffetCurrentBuffer cterm=NONE ctermbg=3 ctermfg=1 guifg=#cbccc6 guibg=#1f2430
endfunction

It didn't work, ctermbg=3 ctermfg=1 is invalid, but guifg=#cbccc6 guibg=#1f2430 can change the tab style.

@hewcaw
Copy link
Collaborator

hewcaw commented Aug 28, 2021

The issue is same as #20 , After I add line as:

lightline is a plugin that displays both the tabline and statusline hence the conflicting with buffet-vim a tabline plugin.

I want to change the blue background and the gray backgroud, but ater I change...

Blue one is BuffetTab, gray one is TablineFill https://stackoverflow.com/a/7238201/14627693.

And btw you currently using tab instead of buffer, you should learn the difference between them before continue using https://joshldavis.com/2014/04/05/vim-tab-madness-buffers-vs-tabs/

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

2 participants