2023-10-01 09:22:01 +07:00
|
|
|
local status_ok, indent_blankline = pcall(require, "ibl")
|
2023-01-15 00:17:41 +07:00
|
|
|
if not status_ok then
|
|
|
|
return
|
|
|
|
end
|
2024-03-31 16:35:21 +07:00
|
|
|
local icons = require("user.icons")
|
2023-01-15 00:17:41 +07:00
|
|
|
indent_blankline.setup({
|
2024-03-31 16:35:21 +07:00
|
|
|
enabled = true,
|
|
|
|
buftype_exclude = { "terminal", "nofile" },
|
|
|
|
filetype_exclude = {
|
|
|
|
"help",
|
|
|
|
"startify",
|
|
|
|
"dashboard",
|
|
|
|
"lazy",
|
|
|
|
"neogitstatus",
|
|
|
|
"NvimTree",
|
|
|
|
"Trouble",
|
|
|
|
"text",
|
|
|
|
},
|
|
|
|
char = icons.ui.LineLeft,
|
|
|
|
context_char = icons.ui.LineLeft,
|
|
|
|
show_trailing_blankline_indent = false,
|
|
|
|
show_first_indent_level = true,
|
|
|
|
use_treesitter = true,
|
|
|
|
show_current_context = true,
|
2023-01-15 00:17:41 +07:00
|
|
|
})
|