Skip to content
Discussion options

You must be logged in to vote

There is config.draw.predicate specifically for this. The input has scope structure.

Not drawing indent line at the first column can be done something like this:

local draw_big_level = function(scope) return scope.border.indent > 1 end
require('mini.indentscope').setup({ draw = { predicate = draw_big_level } })

Fine-tuning this to fit the concept of "levels" (which probably depends on 'shiftwidth', 'tabstop', and maybe other options) is left to the user.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@WingDust
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by echasnovski
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested mini.indentscope
3 participants