Merge pull request #311 from mnishz/fix_AutoResetWidth

Fix unexpected feature enabling by AutoResetWidth
This commit is contained in:
Yggdroot
2020-05-29 20:56:30 +08:00
committed by GitHub

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)