39 lines
922 B
Lua
39 lines
922 B
Lua
return {
|
|
{ -- Add indentation guides even on blank lines
|
|
'lukas-reineke/indent-blankline.nvim',
|
|
-- Enable `lukas-reineke/indent-blankline.nvim`
|
|
-- See `:help ibl`
|
|
main = 'ibl',
|
|
opts = function()
|
|
vim.keymap.set('n', '<leader>ti', function()
|
|
local enabled = require('ibl.config').get_config(0).enabled
|
|
require('ibl').setup_buffer(0, { enabled = not enabled })
|
|
end, { desc = 'Toggle: [i]ndentation Guides' })
|
|
|
|
return {
|
|
enabled = false,
|
|
indent = {
|
|
char = '│',
|
|
tab_char = '│',
|
|
},
|
|
scope = {
|
|
show_start = false,
|
|
show_end = false,
|
|
},
|
|
exclude = {
|
|
filetypes = {
|
|
'help',
|
|
'dashboard',
|
|
'NvimTree',
|
|
'lazy',
|
|
'mason',
|
|
'toggleterm',
|
|
},
|
|
},
|
|
}
|
|
end,
|
|
},
|
|
}
|
|
|
|
-- vim: ts=2 sts=2 sw=2 et
|