Open savchenko opened 3 years ago
@Yggdroot , I've read the doc and tried the proposed parameter, but don't see how it is applicable here.
g:indentLine_indentLevel
allows to limit number of indent lines drawn counting from the leftmost one.
Consider this valid case where everything is looking well:
And now with the different comment style:
If I would limit g:indentLine_indentLevel
to 3
, things will look better for this specific section only:
But what about rest of the code? Say we introduce a nested_var
:
This illustrates why allowing to limit by the spacing between the lines is useful. Additional check "if line contains only spaces and Comment highlight group" will help as well.
Makes sense? :)
Consider the following example:
Is it possible to avoid drawing indents if:
Comment
highlight-group applied to it.Both options can be independent from each other.