chore(config): update catppuccin theme

main
sudo pacman -Syu 2022-05-30 10:08:42 +07:00
parent bf3fe76778
commit 17e81c5644
No known key found for this signature in database
GPG Key ID: D6CB5C6C567C47B0
1 changed files with 7 additions and 0 deletions

View File

@ -106,8 +106,15 @@ require("nvim-tree").setup({
}) })
-- https://github.com/catppuccin/nvim#setup -- https://github.com/catppuccin/nvim#setup
local catppuccin_term_colors = false
if vim.fn.getenv("COLORTERM") == "truecolor" then
catppuccin_term_colors = true
vim.g.catppuccin_flavour = "mocha"
end
require("catppuccin").setup({ require("catppuccin").setup({
transparent_background = true, transparent_background = true,
term_colors = catppuccin_term_colors,
}) })
if vim.fn.getenv("COLORTERM") == "truecolor" then if vim.fn.getenv("COLORTERM") == "truecolor" then