1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00
jdhao-nvim-config/lua/config/indent-blankline.lua
2021-11-05 20:52:57 +08:00

17 lines
448 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", "git", "markdown", "snippets", "text" },
}
vim.cmd[[
augroup indent_blankline
autocmd!
autocmd InsertEnter * IndentBlanklineDisable
autocmd InsertLeave * IndentBlanklineEnable
augroup END
]]