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

how to change color #37

Closed
yanke1311 opened this issue Nov 12, 2019 · 3 comments
Closed

how to change color #37

yanke1311 opened this issue Nov 12, 2019 · 3 comments

Comments

@yanke1311
Copy link

while I defined a function with name g:BuffetSetCustomColors, I don't know how to use it. if the plug will call the function automatically, or should I call it manually?
I try to call it before/after the plug been loaded, but it don't work

@ztoiax
Copy link

ztoiax commented Mar 4, 2020

my settings

function! g:BuffetSetCustomColors()
hi! BuffetCurrentBuffer cterm=NONE ctermbg=106 ctermfg=8 guibg=#b8bb26 guifg=#000000
hi! BuffetTrunc cterm=bold ctermbg=66 ctermfg=8 guibg=#458588 guifg=#000000
hi! BuffetBuffer cterm=NONE ctermbg=239 ctermfg=8 guibg=#504945 guifg=#000000
hi! BuffetTab cterm=NONE ctermbg=66 ctermfg=8 guibg=#458588 guifg=#000000
hi! BuffetActiveBuffer cterm=NONE ctermbg=10 ctermfg=239 guibg=#999999 guifg=#504945
endfunction

@bagrat
Copy link
Owner

bagrat commented Jun 26, 2020

Sorry for late response @yanke1311, the function is being called automatically by the plugin, you just need to make sure your function is defined before the plugin is loaded. Can you please show your config?

@yanke1311
Copy link
Author

thank you!

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

3 participants