dotfiles/.config/nvim/lua/plugins/indent-blankline.lua

45 lines
842 B
Lua
Raw Normal View History

local M = {
"lukas-reineke/indent-blankline.nvim",
event = "BufReadPre",
config = {
buftype_exclude = { "terminal", "nofile" },
filetype_exclude = {
"help",
"neogitstatus",
"NvimTree",
"neo-tree",
"Trouble",
},
char = "",
-- char = "┊",
char_highlight_list = { "Indent1", "Indent2", "Indent3", "Indent4", "Indent5", "Indent6" },
use_treesitter_scope = false,
show_trailing_blankline_indent = false,
show_current_context = true,
context_patterns = {
"class",
"return",
"function",
"method",
"^if",
"^while",
"jsx_element",
"^for",
"^object",
"^table",
"block",
"arguments",
"if_statement",
"else_clause",
"jsx_element",
"jsx_self_closing_element",
"try_statement",
"catch_clause",
"import_statement",
"operation_type",
},
},
}
return M