Disable catppuccin transparency (again), reduce floating window

transparency
This commit is contained in:
Evie Litherland-Smith 2023-05-11 21:46:07 +01:00
parent f94daf819c
commit 172d094b56
3 changed files with 6 additions and 8 deletions

View file

@ -61,11 +61,11 @@ vim.g.loaded_perl_provider = 0
vim.keymap.set("i", "jk", "<esc>")
vim.keymap.set("n", "<leader>l", "<cmd>Lazy<CR>")
vim.opt.winblend = 15
vim.opt.pumblend = 15
-- neovide
if vim.g.neovide then
vim.opt.winblend = 50
vim.opt.pumblend = 50
vim.g.neovide_padding_top = 5
vim.g.neovide_padding_bottom = 5
vim.g.neovide_padding_left = 5
@ -74,6 +74,6 @@ if vim.g.neovide then
vim.g.neovide_floating_blur_amount_x = 2.0
vim.g.neovide_floating_blur_amount_y = 2.0
vim.g.neovide_hide_mouse_when_typing = true
vim.g.neovide_hide_mouse_when_typing = false
vim.g.neovide_remember_window_size = false
end

View file

@ -1,7 +1,7 @@
local config = {
flavour = "macchiato",
term_colors = true,
transparent_background = true,
transparent_background = false,
integrations = {
alpha = true,
gitsigns = true,
@ -32,8 +32,6 @@ local config = {
},
}
if vim.g.neovide then config.transparent_background = false end
return {
"catppuccin/nvim",
name = "catppuccin",

View file

@ -12,7 +12,7 @@ return {
sections = {
left = { border = "rounded" },
mid = { border = "rounded" },
right = { border = "rounded", preview = "always" },
right = { border = "rounded", preview = "leaf" },
},
},
node_markers = {