blob: 245b326eb8ae79909404e5fcf6207298e98af5b0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
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" },
}
vim.cmd[[
augroup indent_blankline
autocmd!
autocmd InsertEnter * IndentBlanklineDisable
autocmd InsertLeave * IndentBlanklineEnable
augroup END
]]
|