fix(plugin): indentline using config instead of setup

This commit is contained in:
Marwan Mustafa 2021-09-01 07:57:56 +12:00 committed by siduck76
parent a125c388c3
commit ec7b15fead

View File

@ -43,14 +43,14 @@ M.better_escape = function()
end end
M.blankline = function() M.blankline = function()
vim.g.indentLine_enabled = 1 require("indent_blankline").setup {
vim.g.indent_blankline_char = "" indentLine_enabled = 1,
char = "",
vim.g.indent_blankline_filetype_exclude = { "help", "terminal", "dashboard", "packer" } indent_blankline_filetype_exclude = { "help", "terminal", "dashboard", "packer" },
vim.g.indent_blankline_buftype_exclude = { "terminal" } indent_blankline_buftype_exclude = { "terminal" },
indent_blankline_show_trailing_blankline_indent = false,
vim.g.indent_blankline_show_trailing_blankline_indent = false indent_blankline_show_first_indent_level = false,
vim.g.indent_blankline_show_first_indent_level = false }
end end
M.colorizer = function() M.colorizer = function()