vimpostor / vim-lumen

Make vim follow your system-wide dark mode preference
GNU General Public License v3.0
96 stars 3 forks source link

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

Open CyberDogFK opened 1 month ago

CyberDogFK commented 1 month ago

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 commented 1 month ago

Found solution via lvim autocommand callback

image
vimpostor commented 1 month ago

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.