Fix a bug with resetting pattern options when ALE is enabled again
This commit is contained in:
parent
5d2ab192cf
commit
91fe749d03
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Reference in a new issue