let g:indentLine_autoResetWidth = 1 "default
let g:indentLine_bufTypeExclude = ['help']
set modeline tabstop=4
:help
Now unexpectedly 'help' has indentLine enabled.
The reason is that standard 'help' buffer has ts=8 in the modeline which results in triggering OptionSet and then s:AutoResetWidth() early. But s:AutoResetWidth() initializes b:indentLine_enabled without consulting s:Filter(). And so 'help' buffer passes any filter check unexpectedly.
Steps to reproduce:
Now unexpectedly 'help' has indentLine enabled.
The reason is that standard 'help' buffer has
ts=8
in the modeline which results in triggeringOptionSet
and thens:AutoResetWidth()
early. Buts:AutoResetWidth()
initializesb:indentLine_enabled
without consultings:Filter()
. And so 'help' buffer passes any filter check unexpectedly.