Giter Site home page Giter Site logo

Comments (7)

hansemschnokeloch avatar hansemschnokeloch commented on August 15, 2024 3

Hi, I resolved this issue by slightly changing the background colour of kitty's colorscheme to get a different bg color in kitty and neovim (example: change #1a1b26 of tokyo night bg to #1a1b27 or #1a1b25). You won't notice any difference in kitty with a background opacity of 0.6.

from tokyonight.nvim.

folke avatar folke commented on August 15, 2024

Are you using kitty with the tokyonight kitty theme?

If so, Kitty has a setting background_opacity, that makes a color that is the same as the terminal background color transparent.

from tokyonight.nvim.

folke avatar folke commented on August 15, 2024

If not the above, then what does :au ColorScheme give? Most likely some autocommand that unsets guibg for Normal

from tokyonight.nvim.

Chaitanyabsprip avatar Chaitanyabsprip commented on August 15, 2024

I am using kitty with the kitty_tokyonight_storm theme

from tokyonight.nvim.

folke avatar folke commented on August 15, 2024

@Chaitanyabsprip do you have that specific kitty setting enabled? If so kitty will make the BG transparent. Nothing vim can do about that

from tokyonight.nvim.

Chaitanyabsprip avatar Chaitanyabsprip commented on August 15, 2024

I did have the background_opacity as 0.6 in kitty.conf but why does that affect neovim configuration? They should be independent right?

from tokyonight.nvim.

folke avatar folke commented on August 15, 2024

Nope, that is effectively what that setting in Kitty does. Vim doesn't render it transparent. It's Kitty that makes any color that is the same as the kitty bg color transparent. Since you're using the storm theme in kitty and the storm theme in vim, Kitty will make the vim bg color transparent. Try changing the kitty theme to something else (like the night style) and restart Kitty. Vim will properly have a background now. Please read the Kitty documentation. It explains it very well.

I'll close this, since this is not related to vim at all.

from tokyonight.nvim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.