#1501 Pass the buffer number from BufWritePost on to ale#fix#Fix

This commit is contained in:
w0rp
2018-04-13 20:59:05 +01:00
parent 56c7957a75
commit f5f3424fcf
3 changed files with 12 additions and 20 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ function! ale#events#SaveEvent(buffer) abort
endif
if ale#Var(a:buffer, 'fix_on_save')
let l:will_fix = ale#fix#Fix('save_file')
let l:will_fix = ale#fix#Fix(a:buffer, 'save_file')
let l:should_lint = l:should_lint && !l:will_fix
endif