scottmckendry / cyberdream.nvim

🤖💤 High-contrast, Futuristic & Vibrant Coloursheme for Neovim
MIT License
740 stars 30 forks source link

Transparency for telescope #147

Open shouyierban opened 2 weeks ago

shouyierban commented 2 weeks ago

Description

hi scottmckendry, thank you for your job, and this is a very nice theme. this is a problem about Transparency. when I set cache = true, the transparency of telescope and neotree become to invalid, even if I delete the old cache files。Hopefully you can fix it.

image

Neovim version?

v0.10

scottmckendry commented 2 weeks ago

hello @shouyierban :) Can you share your config, I'm not able to replicate the above with my testing.

You may need to run :CyberdreamBuildCache with cache disabled to get the desired result.

shouyierban commented 2 weeks ago

thank you for your reply, here is my config:

return {
    "scottmckendry/cyberdream.nvim",
    -- dev = true,
    lazy = false,
    priority = 1000,
    config = function()
      require("cyberdream").setup({
          transparent = true,
          italic_comments = true,
          hide_fillchars = true,
          terminal_colors = false,
          cache = true,
          borderless_telescope = false,
      })
  end,
}

image

it works only I set cache = false, but there was spend more time to start lazyvim

scottmckendry commented 2 weeks ago

Can you try setting cache = false so the correct highlights are shown? Once the highlights are showing correctly, run :CyberdreamBuildCache.

This should fix the problem 🙂

shouyierban commented 2 weeks ago

Can you try setting cache = false so the correct highlights are shown? Once the highlights are showing correctly, run :CyberdreamBuildCache.

This should fix the problem 🙂

I have tryed in this way, but still no work. In lieu of that, after I manually modified the cache file and added the following, it displays properly.

{
  "TelescopeBorder": {
      "bg": "NONE"
  },
  "NeoTreeNormal": {
      "bg": "NONE"
  },
  "NeoTreeNormalNC": {
      "bg": "NONE"
  },
  "NeoTreeFileName": {
      "fg": "#ffffff"
  },
  "WhichKeyBorder": {
      "bg": "NONE"
  },
  "WhichKeyNormal": {
      "bg": "NONE"
  },
}
Yeastiest commented 3 days ago

Is there any way to make telescope completely transparent? When I'm not using any colourscheme and it defaults to my terminal scheme, telescope is transparent, but when using cyberdream and the config above, as well as setting telescope options like set_hl, it still isnt transparent.

scottmckendry commented 3 days ago

@Yeastiest try borderless_telescope = false in your config. Probably not the best setting name looking back 😀

Yeastiest commented 2 days ago

@scottmckendry Alright thanks, besides that though I just wanna check, is having transparent telescope, nvim, neotree and all the others at the same time actually possible? Because that’s my end goal.

Yeastiest commented 2 days ago

Setting Telescope to bordered does work! Thanks a lot for the quick help