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,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,
}, },
} }