Fix a bug with resetting pattern options when ALE is enabled again

This commit is contained in:
w0rp 2017-11-22 16:39:05 +00:00
parent 5d2ab192cf
commit 91fe749d03
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ function! ale#toggle#Enable() abort
if !g:ale_enabled
" Set pattern options again, if enabled.
if g:ale_pattern_options_enabled
call ale#pattern_options#SetOptions()
call ale#pattern_options#SetOptions(bufnr(''))
endif
call ale#toggle#Toggle()