First, thank you for your great plugin. It's very helpful.
I found that this feature is unexpectedly enabled on help file by AutoResetWidth. This is caused because help files have modeline that sets shiftwidth or tabstop buffer locally, and AutoResetWidth just refers to b:indentLine_enabled and g:indentLine_enabled, but not filter settings. In other cases, just typing :set shiftwidth=4 can cause the same issue. And this probably be the same issue as #306.
I've created my fix. Could you merge this if it looks good?
How to fix: When b:indentLine_enabled doesn't exist and g:indentLine_enabled == 1, refer to s:Filter() instead of the value itself.
First, thank you for your great plugin. It's very helpful.
I found that this feature is unexpectedly enabled on help file by
AutoResetWidth
. This is caused because help files have modeline that setsshiftwidth
ortabstop
buffer locally, andAutoResetWidth
just refers tob:indentLine_enabled
andg:indentLine_enabled
, but not filter settings. In other cases, just typing:set shiftwidth=4
can cause the same issue. And this probably be the same issue as #306.I've created my fix. Could you merge this if it looks good?
How to fix: When
b:indentLine_enabled
doesn't exist andg:indentLine_enabled
== 1, refer tos:Filter()
instead of the value itself.CC: @matveyt, @Mike325