Skip to content

Commit

Permalink
docs: add ufo integration
Browse files Browse the repository at this point in the history
close #577
  • Loading branch information
nullchilly committed Sep 2, 2023
1 parent 87e39ef commit 89be4bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ require("catppuccin").setup({
transparent_background = false, -- disables setting the background color.
show_end_of_buffer = false, -- shows the '~' characters after the end of buffers
term_colors = false, -- sets terminal colors (e.g. `g:terminal_color_0`)
kitty = vim.env.KITTY_WINDOW_ID and true or false, -- https://github.com/kovidgoyal/kitty/issues/2917
dim_inactive = {
enabled = false, -- dims the background color of inactive window
shade = "dark",
Expand Down Expand Up @@ -1114,7 +1113,7 @@ ufo = false

</td>
</tr>
<!-- nvim-ts-rainbow -->
<!-- nvim-ufo -->

<!-- nvim-window-picker -->
</tr>
Expand Down
2 changes: 1 addition & 1 deletion lua/catppuccin/palettes/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function M.get_palette(flavour)
local _, palette = pcall(require, "catppuccin.palettes." .. flvr)
local O = require("catppuccin").options
local ans = vim.tbl_deep_extend("keep", O.color_overrides.all or {}, O.color_overrides[flvr] or {}, palette or {})
if O.kitty then
if O.kitty then -- https://github.com/kovidgoyal/kitty/issues/2917
for accent, hex in pairs(ans) do
local int = hex:gsub("#", "0x")
int = tonumber(int)
Expand Down

0 comments on commit 89be4bb

Please sign in to comment.