update indent blakline
This commit is contained in:
parent
282d1e09ad
commit
7992dc01f6
2 changed files with 25 additions and 14 deletions
|
|
@ -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 {
|
||||||
|
|
|
||||||
|
|
@ -2,10 +2,17 @@ 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 = "▏",
|
||||||
|
indent = {
|
||||||
char = "│",
|
char = "│",
|
||||||
filetype_exclude = {
|
},
|
||||||
|
scope = {
|
||||||
|
enabled = true,
|
||||||
|
},
|
||||||
|
exclude = {
|
||||||
|
filetypes = {
|
||||||
"help",
|
"help",
|
||||||
"alpha",
|
"alpha",
|
||||||
"dashboard",
|
"dashboard",
|
||||||
|
|
@ -17,7 +24,6 @@ return {
|
||||||
"toggleterm",
|
"toggleterm",
|
||||||
"lazyterm",
|
"lazyterm",
|
||||||
},
|
},
|
||||||
show_trailing_blankline_indent = true,
|
},
|
||||||
show_current_context = true,
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue