ayu-theme / ayu-vim

Modern theme for modern VIMs
Apache License 2.0
1.68k stars 187 forks source link

Change ayucolor from neovim command line #46

Closed mrassili closed 4 years ago

mrassili commented 4 years ago

Hi

I have the variable ayucolor set to dark in my init.vim but sometimes I want to change it to light temporarily. I tried :let ayucolor='white' in neovim command line, it works when I echo it. But actually it doesn't change. it's still dark

I don't know if I should run something after to update the interface that I am not aware of? and if it can be automated somehow?

mrassili commented 4 years ago

got my answer on Reddit. :)

mvllow commented 4 years ago

@mrassili would you mind sharing the answer here or a link to the reddit? thanks!

mrassili commented 4 years ago

ah sorry, here you go:

From https://github.com/ayu-theme/ayu-vim, it seems you should be setting let ayucolor="light" instead of let ayucolor="white". Then run colorscheme ayu again if needed