Ramilito / kubectl.nvim

Apache License 2.0
158 stars 4 forks source link

bug: loading window is completely black #76

Closed idelice closed 1 month ago

idelice commented 1 month ago
Screenshot 2024-07-02 at 23 42 04
Ramilito commented 1 month ago

Do you have any more info? Any errors?

idelice commented 1 month ago

No errors or anything. it doesn't matter what i do with the plugin, the loading bar is completely black like that

idelice commented 1 month ago

I can still do stuff. the loading bar is just black

Ramilito commented 1 month ago

Ah, the loading indicator is just supposed to be that spinner rotating 😅 , you can turn it back to the verbose printing if you want in the config, I thought maybe ppl would be annoyed by it:

{
  notification = {
    enabled = true,
    verbose = true <--- this line
  }
}
idelice commented 1 month ago

I'm actually more for the spinner part only, but the black bar is annoying. How can i make it transparent?

Ramilito commented 1 month ago

Ah, I get it now...it's transparent in my config by setting winblend in the buffer so not sure why it's black in yours, I'll take a look

Ramilito commented 1 month ago

I tried to understand the issue but I'm not sure why winblend isn't working in your config (I tried it my self), I also tried using fidget.nvim since that's a similar feature but it also has the same issue as my implementation. The best compromise I could think of is to make the spinner take less space (1x1 square) and adding the option to disable winblend, so this should be working for you:

{
  notification = {
    enabled = true,
    verbose = false,
    blend = 0
  }
}