Open marcoslhc opened 2 years ago
The let &varname = ''
is a syntax that allows you to assign some arbitrary values to an option.
So in theory, it is correct to use it this way.
In reality, the background
option only accepts light
and dark
as a value. I am guessing you are using the mirage
theme which might make it crash.
Since this issue might not be resolved, I recommend you use my fork (found here: https://github.com/Luxed/ayu-vim) instead.
The
let &varname = ''
is a syntax that allows you to assign some arbitrary values to an option. So in theory, it is correct to use it this way.In reality, the
background
option only acceptslight
anddark
as a value. I am guessing you are using themirage
theme which might make it crash.Since this issue might not be resolved, I recommend you use my fork (found here: https://github.com/Luxed/ayu-vim) instead.
Pull request https://github.com/ayu-theme/ayu-vim/pull/75 created
This line treats background option set as a get when using the
&background
identifier. It should bebackground
without the&