mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-25 15:17:21 +08:00
Fix #833 - Do not open windows on save when the option is off
This commit is contained in:
1 parent
16cfedf04a
commit
5010ddc28f
2 files changed
+9
-1
No files matched your search
@@ -18,7 +18,7 @@ function! s:ShouldOpen(buffer) abort
|
||||
let l:saved = getbufvar(a:buffer, 'ale_save_event_fired', 0)
|
||||
|
||||
return (type(l:val) == type(1) && l:val == 1)
|
||||
\ || (l:val ==# 'on_save' && l:saved)
|
||||
\ || (type(l:val) == type('') && l:val ==# 'on_save' && l:saved)
|
||||
endfunction
|
||||
|
||||
function! ale#list#SetLists(buffer, loclist) abort
|
||||
|
||||
Reference in new issue
Block a user