mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
17 lines
452 B
Lua
17 lines
452 B
Lua
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", "startify", "git", "markdown", "snippets" },
|
|
}
|
|
|
|
vim.cmd[[
|
|
augroup indent_blankline
|
|
autocmd!
|
|
autocmd InsertEnter * IndentBlanklineDisable
|
|
autocmd InsertLeave * IndentBlanklineEnable
|
|
augroup END
|
|
]]
|