vim-lumen icon indicating copy to clipboard operation
vim-lumen copied to clipboard

Can't set up custome themes via global variables in LunarVim

Open CyberDogFK opened this issue 1 year ago • 2 comments

Describe the bug

Trying to setup different themes for light and dark modes, but Vim-lumen keeps ignoring them:

g:lumen_dark_colorscheme='prism' g:lumen_light_colorscheme='zellner' image image

To reproduce

Set global variables lumen_light_colorscheme and lumen_dark_colorscheme to some theme names, don't change global theme

Expected behavior

On light mode theme will changed to that one, which set on lumen_dark_colorscheme, on dark mode theme will changed to that one, which set on lumen_dark_colorscheme variable

Debug output

{'shell': '/bin/zsh', 'platform': 'macos', 'job_state': 'run as PID 13535', 'job_errors': []}

CyberDogFK avatar Oct 13 '24 11:10 CyberDogFK

Found solution via lvim autocommand callback image

CyberDogFK avatar Oct 13 '24 11:10 CyberDogFK

I can't reproduce this.

Does the problem only happen on startup or does it also not respect the colorscheme variables, when you switch the theme while neovim is already running?

Also please avoid posting screenshots, I can't tell which configuration file you are putting these lines into and it's problematic for copy-pasting and searching.

vimpostor avatar Oct 13 '24 21:10 vimpostor