mirror of
https://github.com/CompeyDev/my-nvim-setup.git
synced 2024-12-13 05:20:38 +00:00
avoid using globals in blankline config
This commit is contained in:
parent
19e17eac58
commit
5742567630
1 changed files with 2 additions and 3 deletions
|
@ -43,9 +43,6 @@ M.better_escape = function()
|
||||||
end
|
end
|
||||||
|
|
||||||
M.blankline = function()
|
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 {
|
require("indent_blankline").setup {
|
||||||
indentLine_enabled = 1,
|
indentLine_enabled = 1,
|
||||||
char = "▏",
|
char = "▏",
|
||||||
|
@ -59,6 +56,8 @@ M.blankline = function()
|
||||||
"TelescopeResults",
|
"TelescopeResults",
|
||||||
},
|
},
|
||||||
indent_blankline_buftype_exclude = { "terminal" },
|
indent_blankline_buftype_exclude = { "terminal" },
|
||||||
|
show_trailing_blankline_indent = false,
|
||||||
|
show_first_indent_level = false,
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue