Skip to content

Commit

Permalink
fix(ufo): use folded ellipsis
Browse files Browse the repository at this point in the history
  • Loading branch information
nullchilly committed Sep 7, 2023
1 parent 1c15c5e commit 846388d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1122,7 +1122,7 @@ ts_rainbow = true
<td>

```lua
ufo = false
ufo = true
```

</td>
Expand Down
2 changes: 1 addition & 1 deletion lua/catppuccin/groups/editor.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function M.get()
EndOfBuffer = { fg = O.show_end_of_buffer and C.surface1 or C.base }, -- filler lines (~) after the end of the buffer. By default, this is highlighted like |hl-NonText|.
ErrorMsg = { fg = C.red, style = { "bold", "italic" } }, -- error messages on the command line
VertSplit = { fg = O.transparent_background and C.surface1 or C.crust }, -- the column separating vertically split windows
Folded = { fg = C.blue, bg = C.surface1 }, -- line used for closed folds
Folded = { fg = C.blue, bg = O.transparent_background and C.none or C.surface1 }, -- line used for closed folds
FoldColumn = { fg = C.overlay0 }, -- 'foldcolumn'
SignColumn = { fg = C.surface1 }, -- column where |signs| are displayed
SignColumnSB = { bg = C.crust, fg = C.surface1 }, -- column where |signs| are displayed
Expand Down
1 change: 1 addition & 0 deletions lua/catppuccin/groups/integrations/ufo.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ local M = {}
M.get = function()
return {
UfoFoldedFg = { fg = C.lavender },
UfoFoldedEllipsis = { fg = C.crust, bg = C.blue },
}
end

Expand Down
1 change: 1 addition & 0 deletions lua/catppuccin/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ local M = {
markdown = true,
neogit = true,
nvimtree = true,
ufo = true,
rainbow_delimiters = true,
semantic_tokens = not is_vim,
telescope = { enabled = true },
Expand Down

0 comments on commit 846388d

Please sign in to comment.