-
-
Notifications
You must be signed in to change notification settings - Fork 297
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
plugins/base16: minor improvements #983
Conversation
Thank you for the contribution. |
We initialized |
I am not sure to get what you mean ? Why do a user would want to leave |
If both -- extraConfigLuaPre goes here
require('base16-colorscheme').setup(customColorScheme)
-- extraConfigVim goes here (which includes colorscheme)
vim.cmd [[
colorscheme base16-colorscheme
]]
If they want to set a custom theme, they can leave |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a bit of a footgun as is, as two options interact in strange ways.
I'd suggest adding a warning if customColorScheme != null and colorscheme != null, and an error if colorscheme == null and customColorScheme == null (see other plugins for inspiration)
I think you need to update some tests |
Fixes #986