Use lazy.nvim

This commit is contained in:
Saeed Afzal
2023-04-29 12:34:36 +01:00
parent 17ab6018fb
commit 86cc9b52ec
28 changed files with 308 additions and 493 deletions

43
lua/plugins/blankline.lua Normal file
View File

@@ -0,0 +1,43 @@
return {
"lukas-reineke/indent-blankline.nvim",
event = "BufEnter",
opts = {
char = "",
context_char = "",
filetype_exclude = {
"help",
"terminal",
"alpha",
"lazy",
"neo-tree",
"Trouble"
},
buftype_exclude = { "nofile", "terminal" },
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"
},
show_trailing_blankline_indent = false,
show_first_indent_level = false,
use_treesitter = true,
show_current_context = true
}
}