Fix a bug with resetting pattern options when ALE is enabled again
This commit is contained in:
parent
5d2ab192cf
commit
91fe749d03
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user