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

Fixes "E474: Invalid argument" #72

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

marcoslhc
Copy link

This line treats background option set as a get when using the &background identifier. It should be background without the &

This line treats background option set as a get when using the `&background` identifier. It should be `background` without the `&`
@Luxed
Copy link

Luxed commented Mar 13, 2022

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.

@FuDesign2008
Copy link
Contributor

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.

Pull request #75 created

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

Successfully merging this pull request may close these issues.

3 participants