-
Notifications
You must be signed in to change notification settings - Fork 24
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
A way to match colors with current color schema #5
Comments
Thanks for raising this. I did not really think about this, but I definitely like the idea. How would you consider doing this? E.g. link the default |
Really I don't know how to do that, I don't know how vim/nvim store color values. |
Is |
@tombh this looks like NeoVim specific. What are your trying to achieve? |
Oh, well it was maybe an answer for here - if you can expect a set of available |
Oh! But just realised, they're set by OceanicNext itself, so it's nothing to do with the version of vim. So maybe these vars are something you can generally expect to see from themes? |
As far as I understood, these variables are optionally expected by NeoVim. Still I am not sure how this scan be done, as in the end, |
Yeah I've been pondering it too and you're right, those values are not canonical enough. So I think something of an MVP would be a config setting defaulting to off, but when on would make an attempt at matching the user's colorscheme. Another thing that might be nice is just a copy and paste snippet in the README. I had to remind myself of the |
Hey @tombh! I have gone for a full rewrite of this plugin, as the code became very messy and I was not able to add more to it. Now the code is much more readable and actually more efficient, so contributions will be much easier. The new code is still in the I have tries to link the default highlight groups into the build in ones, but not really sure how I would match it exactly to the current colorscheme. But I have left it as a Also added an example of setting custom highlight groups. |
The tabline is really good and would be good to match colors with current color schema
The text was updated successfully, but these errors were encountered: