summaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
Diffstat (limited to 'autoload')
-rw-r--r--autoload/ale/toggle.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/ale/toggle.vim b/autoload/ale/toggle.vim
index 7197498e..dcca7038 100644
--- a/autoload/ale/toggle.vim
+++ b/autoload/ale/toggle.vim
@@ -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()