Fix unexpected feature enabling by AutoResetWidth

This commit is contained in:
mnishz
2020-05-27 23:21:06 +09:00
parent 15aceda8c4
commit e14cef7907

View File

@@ -268,7 +268,7 @@ function! s:AutoResetWidth()
let l:enable = get( let l:enable = get(
\ b:, \ b:,
\ 'indentLine_enabled', \ 'indentLine_enabled',
\ get(g:, 'indentLine_enabled', 1) \ g:indentLine_enabled ? s:Filter() : 0
\) \)
let g:indentLine_autoResetWidth = get(g:, 'indentLine_autoResetWidth', 1) let g:indentLine_autoResetWidth = get(g:, 'indentLine_autoResetWidth', 1)