opacity in kitty/neovim
It's not enough to enable opacity in kitty, the background has to be set to none in vim as well.
enable opacity in kitty
I could have put the following into kitty.conf, but I put it in the current-theme file which will probably be wiped out the next time I swap themes:
dynamicbackgroundopacity yes
background_opacity 0.5
set background to none
I was watching 0 to LSP by ThePrimeagen and he mentioned the following to enable transparent backgrounds:
vim.api.nvimsethl(0, "Normal", { bg = "none" })
vim.api.nvimsethl(0, "NormalFloat", { bg = "none" })
This is Lua code and needs to go somewhere like T383838~/.config/nvim/init.lua.
Tags: index, nvim, cli
Tags
Navigation