Prevent indent-blankline from being applied unnecessarily to UI elements

This commit is contained in:
Aaron Weinberger 2024-06-20 18:38:34 -04:00
parent bee3e36677
commit 5ca470d28e
No known key found for this signature in database
1 changed files with 11 additions and 0 deletions

View File

@ -5,5 +5,16 @@ return {
-- See `:help ibl`
main = 'ibl',
opts = {},
config = function()
require('ibl').setup({
exclude = {
buftypes = {'NvimTree', 'terminal', 'term', 'dashboard', 'gitcommit', 'fugitive'},
filetypes = {'NvimTree', 'terminal', 'term', 'dashboard', 'gitcommit', 'fugitive'}
},
-- context_patterns = {'class', 'function', 'method', 'block', 'list_literal', 'selector', '^if', '^table', 'if_statement', 'while', 'for', 'object', 'start_tag', 'open_tag', 'element'},
-- show_first_indent_level = true,
-- show_trailing_blankline_indent = false,
})
end,
},
}