Prevent indent-blankline from being applied unnecessarily to UI elements
This commit is contained in:
parent
bee3e36677
commit
5ca470d28e
|
@ -5,5 +5,16 @@ return {
|
||||||
-- See `:help ibl`
|
-- See `:help ibl`
|
||||||
main = 'ibl',
|
main = 'ibl',
|
||||||
opts = {},
|
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,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue