Closed ivanruvalcaba closed 4 years ago
let g:lightline = { 'colorscheme': a:name }
clears all the configuration except for the colorscheme, so lightline#init
initilizes the configuration with its defaults. Please fix this to let g:lightline.colorscheme = a:name
.
Wow! It's works! Thanks a lot!
Nice day!
I'm currently trying to get the night-day plugin working, a plugin whose function is to change the editor's color scheme at a certain time, for its integration with lightline without much success. Although this plugin works properly when changing the color scheme of Vim and lightline at the right time, it seems that when doing so lightline is executed with the default values.
For example, my current configuration of lightline is as follows:
And once the color scheme is changed through night-day, the lightline configuration becomes the following visually:
In the process, all custom settings made to lightline are lost visually.
I've superficially checked the plugin code to try to find some inconsistencies that could affect the correct functioning of lightline but I didn't find anything significant. night-day executes the following function, which appears in the lightline documentation:
My setup for the night-day plugin is:
Any kind of help is welcome!
Regards.