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

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

Open
CyberDogFK opened this issue Oct 13, 2024 · 2 comments
Open

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

CyberDogFK opened this issue Oct 13, 2024 · 2 comments

Comments

@CyberDogFK
Copy link

CyberDogFK commented Oct 13, 2024

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
Copy link
Author

Found solution via lvim autocommand callback
image

@vimpostor
Copy link
Owner

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.

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

2 participants