mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-04 19:28:52 +08:00
Make toggling work when pattern options are enabled
This commit is contained in:
1 parent
daee4a4722
commit
6053f764bd
2 files changed
+5
-1
No files matched your search
@@ -79,7 +79,7 @@ endfunction
|
||||
function! s:EnablePreamble() abort
|
||||
" Set pattern options again, if enabled.
|
||||
if g:ale_pattern_options_enabled
|
||||
call ale#pattern_options#SetOptions()
|
||||
call ale#pattern_options#SetOptions(bufnr(''))
|
||||
endif
|
||||
|
||||
" Lint immediately, including running linters against the file.
|
||||
|
||||
Reference in new issue
Block a user