fix(indentblankline): make sure to use the new syntax for all options (#3058)

This commit is contained in:
Abouzar Parvan 2022-09-21 23:14:08 +04:30 committed by GitHub
parent 526c010c80
commit 538fbd6f68
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,27 +1,26 @@
local M = {} local M = {}
M.config = function() M.config = function()
vim.g.indent_blankline_buftype_exclude = { "terminal", "nofile" }
vim.g.indent_blankline_filetype_exclude = {
"help",
"startify",
"dashboard",
"packer",
"neogitstatus",
"NvimTree",
"Trouble",
"text",
}
vim.g.indentLine_enabled = 1
vim.g.indent_blankline_char = ""
vim.g.indent_blankline_show_trailing_blankline_indent = false
vim.g.indent_blankline_show_first_indent_level = true
vim.g.indent_blankline_use_treesitter = false
vim.g.indent_blankline_show_current_context = true
lvim.builtin.indentlines = { lvim.builtin.indentlines = {
active = true, active = true,
on_config_done = nil, on_config_done = nil,
options = { options = {
enabled = true,
buftype_exclude = { "terminal", "nofile" },
filetype_exclude = {
"help",
"startify",
"dashboard",
"packer",
"neogitstatus",
"NvimTree",
"Trouble",
"text",
},
char = "",
show_trailing_blankline_indent = false,
show_first_indent_level = false,
use_treesitter = true,
show_current_context = true, show_current_context = true,
}, },
} }