aboutsummaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua')
-rw-r--r--lua/config/indent-blankline.lua21
1 files changed, 11 insertions, 10 deletions
diff --git a/lua/config/indent-blankline.lua b/lua/config/indent-blankline.lua
index 245b326..6b133e5 100644
--- a/lua/config/indent-blankline.lua
+++ b/lua/config/indent-blankline.lua
@@ -1,16 +1,17 @@
-require("indent_blankline").setup {
- -- U+2502 may also be a good choice, it will be on the middle of cursor.
- char = "▏",
- show_end_of_line = false,
- disable_with_nolist = true,
- buftype_exclude = {"terminal"},
- filetype_exclude = { "help", "git", "markdown", "snippets", "text" },
-}
+require("indent_blankline").setup({
+ -- U+2502 may also be a good choice, it will be on the middle of cursor.
+ -- U+250A is also a good choice
+ char = "▏",
+ show_end_of_line = false,
+ disable_with_nolist = true,
+ buftype_exclude = { "terminal" },
+ filetype_exclude = { "help", "git", "markdown", "snippets", "text", "gitconfig" },
+})
-vim.cmd[[
+vim.cmd([[
augroup indent_blankline
autocmd!
autocmd InsertEnter * IndentBlanklineDisable
autocmd InsertLeave * IndentBlanklineEnable
augroup END
-]]
+]])