mirror of
https://github.com/LunarVim/LunarVim.git
synced 2024-09-20 18:45:08 +02:00
fix(indentblankline): make sure to use the new syntax for all options (#3058)
This commit is contained in:
parent
526c010c80
commit
538fbd6f68
1 changed files with 16 additions and 17 deletions
|
@ -1,8 +1,13 @@
|
||||||
local M = {}
|
local M = {}
|
||||||
|
|
||||||
M.config = function()
|
M.config = function()
|
||||||
vim.g.indent_blankline_buftype_exclude = { "terminal", "nofile" }
|
lvim.builtin.indentlines = {
|
||||||
vim.g.indent_blankline_filetype_exclude = {
|
active = true,
|
||||||
|
on_config_done = nil,
|
||||||
|
options = {
|
||||||
|
enabled = true,
|
||||||
|
buftype_exclude = { "terminal", "nofile" },
|
||||||
|
filetype_exclude = {
|
||||||
"help",
|
"help",
|
||||||
"startify",
|
"startify",
|
||||||
"dashboard",
|
"dashboard",
|
||||||
|
@ -11,17 +16,11 @@ M.config = function()
|
||||||
"NvimTree",
|
"NvimTree",
|
||||||
"Trouble",
|
"Trouble",
|
||||||
"text",
|
"text",
|
||||||
}
|
},
|
||||||
vim.g.indentLine_enabled = 1
|
char = "▏",
|
||||||
vim.g.indent_blankline_char = "▏"
|
show_trailing_blankline_indent = false,
|
||||||
vim.g.indent_blankline_show_trailing_blankline_indent = false
|
show_first_indent_level = false,
|
||||||
vim.g.indent_blankline_show_first_indent_level = true
|
use_treesitter = true,
|
||||||
vim.g.indent_blankline_use_treesitter = false
|
|
||||||
vim.g.indent_blankline_show_current_context = true
|
|
||||||
lvim.builtin.indentlines = {
|
|
||||||
active = true,
|
|
||||||
on_config_done = nil,
|
|
||||||
options = {
|
|
||||||
show_current_context = true,
|
show_current_context = true,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue