update indent blakline

This commit is contained in:
Alexander Navarro 2023-10-25 19:59:54 -03:00
parent 282d1e09ad
commit 7992dc01f6
2 changed files with 25 additions and 14 deletions

View file

@ -7,6 +7,11 @@ return { -- Change colors.none if not using a transparent background
transparent_background = false, transparent_background = false,
integrations = { integrations = {
cmp = true, cmp = true,
indent_blankline = {
enabled = true,
scope_color = "lavender", -- catppuccin color (eg. `lavender`) Default: text
colored_indent_levels = true,
},
}, },
custom_highlights = function(colors) custom_highlights = function(colors)
return { return {

View file

@ -2,22 +2,28 @@ return {
-- Add indentation guides even on blank lines -- Add indentation guides even on blank lines
"lukas-reineke/indent-blankline.nvim", "lukas-reineke/indent-blankline.nvim",
event = { "BufReadPost", "BufNewFile" }, event = { "BufReadPost", "BufNewFile" },
main = "ibl",
opts = { opts = {
-- char = "▏", -- char = "▏",
char = "", indent = {
filetype_exclude = { char = "",
"help", },
"alpha", scope = {
"dashboard", enabled = true,
"neo-tree", },
"Trouble", exclude = {
"lazy", filetypes = {
"mason", "help",
"notify", "alpha",
"toggleterm", "dashboard",
"lazyterm", "neo-tree",
"Trouble",
"lazy",
"mason",
"notify",
"toggleterm",
"lazyterm",
},
}, },
show_trailing_blankline_indent = true,
show_current_context = true,
}, },
} }