-
Notifications
You must be signed in to change notification settings - Fork 10
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
How exactly blending works? #15
Comments
Consider setting |
If I set |
@simonmandlik I noticed that |
You are using a white background and the background of your color column is |
It's not white, it's rather grey, but as you can see, the colorcolumn is green. Even if I set colorcolumn to black as you suggested nothing changes Screen.Recording.2024-01-14.at.15.05.15.mov |
Should be fixed now. Can you confirm? |
Yes, thanks for the fix. Would it be possible to expose This would help immensely during startup, when autocommands may not (yet) be available. In my setup, I change several highlight groups (including |
As long as you load this plugin after changing the colors it should be fine. So the order is: |
I know, but this is not possible in my setup. I use a light and a dark theme, which change automatically according to MacOS dark/light appearance. If Please, see for example here: I can make the PR if you wish |
I also have neovim setup to change bg according to system theme, so don't worry the plugin will work in this case because changing
|
Also, have you tried to change the background and observe deadcolumn misbehaviors? If you havn't I suggest you at least try it out and report here if the color is not updated correctly (it should), else our discussion here makes no sense. |
I can't use Believe me, I have explored all options available, and what I'm doing in my setup right now is the best I could come up with so that everything works. If you are strictly against exposing one more "refresh" function (as other plugins do, e.g. https://github.com/nvim-tree/nvim-web-devicons#usage) I understand, but it makes the plugin unusable for me. |
I am not strictly against exposing the function, I am rather trying to understand what problem you encounter and avoid unnecessary change to the souce. However, from your link it is still unclear what is the exact problem prevending you from using this plugin and why the colors are not automatically refreshed on colorscheme/bg change. Could you elaborate? In the worst case you can still do |
Hmm... I do not know the internals of Screen.Recording.2024-01-15.at.15.28.58.movAt the same time, e.g. load plugins -> set colorscheme -> set
|
Glad that you find a good solution to the problem. I also noticed that you made a small mistake in the recording, rather than |
Indeed, but still, even |
Emm what is the “behave”? What do you expect? |
Hi, I wanted to achieve a simple colorcolumn, that would behave like vanilla colorcolumn, but would start appearing once the cursor is getting closer to it.
What I need from
deadcolumn
is to show "standard" colorcolumn when the text is longer than textwidth, and only slowly "fade in" and "fade out".But I can't even make colorcolumn have the same background color as
ColorColumn
highlight group.This is my
minimal.lua
:And this is the behavior:
deadcolumn_2.mov
Color column has red color instead of blue, and once the text length exceeds the column, it turns into brown.
Can I somehow make the colorcolumn have the same color as the
ColorColumn
highlight group and basically "turn off" the warning functionality, only display fully opaque color column?Thanks!
The text was updated successfully, but these errors were encountered: