mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-21 05:17:05 +08:00
Fix a bug with resetting pattern options when ALE is enabled again
This commit is contained in:
1 parent
5d2ab192cf
commit
91fe749d03
1 file changed
+1
-1
@@ -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 new issue
Block a user