avoid using globals in blankline config

This commit is contained in:
siduck76 2021-09-02 08:45:05 +05:30
parent 19e17eac58
commit 5742567630

View File

@ -43,9 +43,6 @@ M.better_escape = function()
end
M.blankline = function()
vim.g.indent_blankline_show_trailing_blankline_indent = false
vim.g.indent_blankline_show_first_indent_level = false
require("indent_blankline").setup {
indentLine_enabled = 1,
char = "",
@ -59,6 +56,8 @@ M.blankline = function()
"TelescopeResults",
},
indent_blankline_buftype_exclude = { "terminal" },
show_trailing_blankline_indent = false,
show_first_indent_level = false,
}
end