Hi,
I use wombat colorscheme. Is there a way to expose:
let s:p.tabline.tabsel = [ [ s:base3, s:base03 ] ]
in my local .vimrc, so that I can tweak just these tab fg/bg/bold ?
Or should I just edit the wombat.vim in autoload/lightline/colorscheme ?
thx
Or should I copy wombat.vim to a new file, make these changes and then add this new colorscheme to my config ?
Add following configuration in vimrc (after configuration of plugins).
let s:palette = g:lightline#colorscheme#wombat#palette
let s:palette.tabline.tabsel = [ [ .. whatever you like .. ] ]
unlet s:palette
thx. I added:
let s:base3 = [ '#d0d0d0', 252 ]
let s:mck = [ '#5f8787', 66 ]
let s:palette = g:lightline#colorscheme#wombat#palette
let s:palette.tabline.tabsel = [ [ s:base3, s:mck, 'bold' ] ]
unlet s:palette
after all plugins, but get this on startup:
Error detected while processing function lightline#update[3]..lightline#colorscheme[18]..lightline#highlight:
line 23:
E684: list index out of range: 3
E116: Invalid arguments for function printf('hi Lightline%s_%s_%s_%s guifg=%s guibg=%s ctermfg=%s ctermbg=%s', p, mode, i, j, r[1], q[1], r[3], q[3])
E15: Invalid expression: printf('hi Lightline%s_%s_%s_%s guifg=%s guibg=%s ctermfg=%s ctermbg=%s', p, mode, i, j, r[1], q[1], r[3], q[3])
Error detected while processing function lightline#update:
line 3:
E171: Missing :endif
Following config should work.
let s:palette = g:lightline#colorscheme#wombat#palette
let s:palette.tabline.tabsel = [ [ '#d0d0d0', '#5f8787', 252, 66, 'bold' ] ]
unlet s:palette
Works great. Thank you again for lightline and the great support.
Most helpful comment
Following config should work.