bagrat / vim-buffet

IDE-like Vim tabline

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

I can't change the color of the buffers

Cris-lml007 opened this issue · comments

I cannot change the color of the buffers, and I have already tried several things to change it but nothing that I achieve, only when I put the function that is in the plugin documentation the active buffer turns purple, I tried to change the values ​​of the Colors but does not affect anything, please help.

same here!

image

in my .vimrc:

function! g:BuffetSetCustomColors()
  hi! BuffetCurrentBuffer ctermbg=235 ctermfg=193
  hi! BuffetActiveBuffer ctermbg=235 ctermfg=193
  hi! BuffetTab ctermbg=235 ctermfg=193
endfunction

and these colors are definitely not like those in the photo.

and ofc, function is loaded before the plugin.

After doing several tests I came to the conclusion that it is due to the terminal format or in other words, that those colors do not influence the terminals but rather the graphic mode of vim or also called gvim.

There exists some bugs in this plugin when handling terminal vim, see #63

I just fixed the error in the colors, it should be added to the .vimrc :
set termguicolors