nvim/lua/plugins/indent-blankline.lua

38 lines
846 B
Lua

-- Phase 6.6: indent-blankline for visual indent guides
return {
'lukas-reineke/indent-blankline.nvim',
main = 'ibl',
event = { 'BufReadPost', 'BufNewFile' },
opts = {
indent = {
char = '', -- Use same character as listchars tab
tab_char = '',
},
scope = {
enabled = true, -- Highlight current scope
show_start = true, -- Show underline at start of scope
show_end = false, -- Don't show underline at end (can be noisy)
},
exclude = {
filetypes = {
'help',
'alpha',
'dashboard',
'neo-tree',
'Trouble',
'lazy',
'mason',
'notify',
'toggleterm',
'lazyterm',
},
buftypes = {
'terminal',
'nofile',
'quickfix',
'prompt',
},
},
},
}