diff options
author | w0rp <devw0rp@gmail.com> | 2017-11-22 16:39:05 +0000 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-11-22 16:39:05 +0000 |
commit | 91fe749d037d8f11b8b34346392ebb840594994c (patch) | |
tree | 8c74a9950a849bd6a8ea5abd33ee89155e5061dc /autoload | |
parent | 5d2ab192cf4ecce604cee4e8870ff7d5d3f47ed8 (diff) | |
download | ale-91fe749d037d8f11b8b34346392ebb840594994c.zip |
Fix a bug with resetting pattern options when ALE is enabled again
Diffstat (limited to 'autoload')
-rw-r--r-- | autoload/ale/toggle.vim | 2 |
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() |