-
Hi. |
Beta Was this translation helpful? Give feedback.
Answered by
EdenEast
Feb 13, 2023
Replies: 1 comment 1 reply
-
Here is an example solution: vim.keymap.set("n", "<leader>tt", function()
local cat = require("catppuccin")
cat.options.transparent_background = not cat.options.transparent_background
cat.compile()
vim.cmd.colorscheme(vim.g.colors_name)
end) Note that this will invalidate the cache file vs the compiled files. Lines 131 to 154 in a5f3ed5 |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
eXvimmer
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here is an example solution:
Note that this will invalidate the cache file vs the compiled files.
nvim/lua/catppuccin/init.lua
Lines 131 to 154 in a5f3ed5