-
Notifications
You must be signed in to change notification settings - Fork 47
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
[ENH] transparent background for popups (telescope, mason...) #48
Comments
Glad you like it! I agree with you, should definitely add an option to do that. The only possible issue I am aware of, is that some of the plugins (for example, lspsaga.nvim) handle window transparency separately from the the Neovim settings. But I do not have a problem with extending support to handle the plugins. The work has slightly slowed down, since I am grinding to get my thesis submitted. But after that I am going to add some stuff, including this. |
I will have a look around and try to find a solution 💪🏼 |
I think this might be fixed with #97. |
Will try it soon! EDIT: how can I try the preview? |
You should be able to set the branch you use with your plugin manager. Currently it is on |
I think my latest merge fixed this, but I am not sure. Please let me know if this is still an issue. |
Hey there! Will check when I have time later this week. Thanks for pinging me :) |
Hey there, tried running
|
That is odd. Can you show me your setup (if any) and package manager config? |
I think this is the same thing I am running in to: C.bg = (O.transparent_bg and C.none) or C.gray0
C.bg_dark = (O.transparent_bg and C.none) or C.black0
C.bg_highlight = U.blend(C.bg_dark, C.bg, O.cursorline.blend) -- Line 32 colors init Its trying to blend, 'NONE' which is not a hex value. I don't know why baggiponte would be getting this. If this is a bug I can make a pr and fix it, by making blend handle none or just skipping the blending function if none is used. the error I get is: Failed to run `config` for nordic
...El/.config/nvim/git/bin/nordic.nvim/lua/nordic/utils.lua:114: attempt to perform arithmetic on local 'c_fg' (a nil value)
# stacktrace:
- git/bin/nordic.nvim/lua/nordic/utils.lua:114 _in_ **blend_channel**
- git/bin/nordic.nvim/lua/nordic/utils.lua:118 _in_ **blend**
- git/bin/nordic.nvim/lua/nordic/colors/init.lua:33 _in_ **extend_palette**
- git/bin/nordic.nvim/lua/nordic/init.lua:17 _in_ **load**
- lua/core/lazy.lua:61 _in_ **config**
- lua/core/lazy.lua:305
- lua/core/init.lua:4
- init.lua:1 |
Oh, yeah, I am blending a 'none' value. Oops. We can just have the blend function return none when we try and blend a none value. You can make a PR if you want? I will merge it asap. |
Thanks for finding the bug @5-pebbles! :) |
This should have been caught in the tests. We need to cover it. |
I just went ahead and fixed it, I don't want people's neovim breaking because of a colorscheme. |
Ah, makes sense. Will fix this on Sunday. |
Another very minor thing: the pane separator is black and the NvimTree separator is white. Could they be made the same? Another unrequested opinion: with transparency, using black as a line separator feels weird. How can I change it to idk gray? Thanks :) |
For the blend, I will make a pr to just use the non-none color. |
All valid concerns. Just thought about the black separator... Can you please open a new issue? |
Also, could you check on the |
Ops sorry completely missed that. will do.
It seems something changed indeed. The color's still dark (should be gray or white or the same as the highlight used by noice?) but at least it's not the "rectangle" it was before. |
Enable bright borders and see if that is what you want? Share a screenshot, I am curious. |
This should help you out :) https://github.com/AlexvZyl/nvim/blob/main/lua%2Falex%2Flang%2Fcompletion%2Fcmdline.lua |
* Fix(palette): Extend if required before theme is loaded * Ref(utils): Reduce reliance on strings Squash me * Fix: Transparent background for floating border See #48
Congrats for the theme, colors are awesome and the setup straightforward (I am mostly using gruvbox-material, which is vimscript so a little less straightforward to use). However, I was expecting that the transparency option would make popup windows bg transparent as well. I am no colorscheme expert, but I'd be glad to help!
The text was updated successfully, but these errors were encountered: