Skip to content

Commit

Permalink
feat(ui)!: unify UI component indent-blankline (#803)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jint-lzxy authored Jun 17, 2023
1 parent c294ac2 commit 8631b66
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions lua/modules/configs/ui/catppuccin.lua
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,10 @@ return function()
-- For mason.nvim
MasonNormal = { link = "NormalFloat" },

-- For indent-blankline
IndentBlanklineChar = { fg = cp.surface0 },
IndentBlanklineContextChar = { fg = cp.surface2, style = { "bold" } },

-- For nvim-cmp and wilder.nvim
Pmenu = { fg = cp.overlay2, bg = transparent_background and cp.none or cp.base },
PmenuBorder = { fg = cp.surface1, bg = transparent_background and cp.none or cp.base },
Expand Down
6 changes: 4 additions & 2 deletions lua/modules/configs/ui/indent-blankline.lua
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
return function()
require("indent_blankline").setup({
char = "",
context_char = "",
show_first_indent_level = true,
filetype_exclude = {
"", -- for all buffers without a file type
"NvimTree",
"TelescopePrompt",
"dashboard",
"dotooagenda",
"flutterToolsOutline",
Expand All @@ -16,10 +15,13 @@ return function()
"json",
"log",
"markdown",
"NvimTree",
"peekaboo",
"startify",
"TelescopePrompt",
"todoist",
"txt",
"undotree",
"vimwiki",
"vista",
},
Expand Down

0 comments on commit 8631b66

Please # to comment.