aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2021-10-16 21:10:57 +0800
committerjdhao <jdhao@hotmail.com>2021-10-16 21:10:57 +0800
commit768d02b040bb826c544aef42085cb0cb0ba253d4 (patch)
treedd2719c02a30e839d2ba82835d82971ef945a4d7
parent3a32e04af12d7df1fde9d276a01080b7f65d4557 (diff)
update indentBlankline conf
-rw-r--r--lua/config/indent-blankline.lua9
1 files changed, 7 insertions, 2 deletions
diff --git a/lua/config/indent-blankline.lua b/lua/config/indent-blankline.lua
index 6db2f72..aa09468 100644
--- a/lua/config/indent-blankline.lua
+++ b/lua/config/indent-blankline.lua
@@ -1,2 +1,7 @@
-vim.g.indent_blankline_char = "│"
-vim.g.indent_blankline_filetype_exclude = { "help", "startify", "git", "markdown" }
+require("indent_blankline").setup {
+ char = "|",
+ show_end_of_line = false,
+ disable_with_nolist = true,
+ buftype_exclude = {"terminal"},
+ filetype_exclude = { "help", "startify", "git", "markdown" },
+}