34 lines
725 B
Lua
Executable File
34 lines
725 B
Lua
Executable File
-- indent-blankline character.
|
|
|
|
require("../user_settings")
|
|
local indent_blankline_style = 1
|
|
if user_indent_blankline_style then
|
|
indent_blankline_style = user_indent_blankline_style
|
|
end
|
|
|
|
indent_blankline_styles = {
|
|
"▏",
|
|
"¦",
|
|
"┆",
|
|
"│",
|
|
"⎸",
|
|
"|",
|
|
}
|
|
|
|
vim.g.indent_blankline_char = indent_blankline_styles[indent_blankline_style]
|
|
|
|
-- Disable indent-blankline on these pages.
|
|
vim.g.indent_blankline_filetype_exclude = {
|
|
"help",
|
|
"terminal",
|
|
"dashboard",
|
|
"packer",
|
|
"lsp-installer",
|
|
"lspinfo",
|
|
"vista_kind"
|
|
}
|
|
vim.g.indent_blankline_buftype_exclude = { "terminal" }
|
|
|
|
vim.g.indent_blankline_show_trailing_blankline_indent = false
|
|
vim.g.indent_blankline_show_first_indent_level = true
|