-
Notifications
You must be signed in to change notification settings - Fork 26
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
Invalid expression error when loading colorscheme #63
Comments
jchros
added a commit
to jchros/vim-colortemplate
that referenced
this issue
Sep 15, 2022
Neovim doesn't support the falsy operator (as of version 0.7.2), so we use the `+<expr>` trick to convert `&t_Co` into a number, since that's how it is used in generated color schemes. Fixes lifepillar#63.
Thanks for reporting! It appears that Neovim does not support the |
Oh well, there's a PR already. I would appreciate it if you could try that. |
jchros
added a commit
to jchros/vim-colortemplate
that referenced
this issue
Sep 15, 2022
Neovim doesn't support the falsy operator (as of version 0.7.2), so we use the `+<expr>` trick to convert `&t_Co` into a number when the color scheme must support Neovim, since that's how it is used in generated color schemes. Fixes lifepillar#63.
jchros
added a commit
to jchros/vim-colortemplate
that referenced
this issue
Sep 15, 2022
Neovim doesn't support the falsy operator (as of version 0.7.2), so we use the `+<expr>` trick to convert `&t_Co` into a number when the color scheme must support Neovim, since that's how it is used in generated color schemes. Fixes lifepillar#63.
I just tested it with the latest commit. It fixed the issue on my end. Thanks for the super fast fix. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm playing around with vim-colortemplate for the first time, trying to create a colorscheme. The template is hosted on this Github repository.
It works fine on my Windows setup, where I use gvim. However, it has an error on my Linux setup, where I use neovim (v0.7.2) in the alacritty terminal (v0.10.1). Upon setting the colorscheme with
:colorscheme dao
, I get the following errors:In the generated
dao.vim
script, this is the line 16 which causes the issue:After this error message, the colorscheme appears to works properly, but it's annoying to have the error every time.
I don't know the vim script syntax so I have no clue why it doesn't work, but given that this is generated through vim-colortemplate, I thought I would report it here.
The text was updated successfully, but these errors were encountered: