#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

View File

@@ -263,7 +263,7 @@ command! -bar ALEInfoToClipboard :call ale#debugging#InfoToClipboard()
command! -bar -nargs=1 ALEInfoToFile :call ale#debugging#InfoToFile(<f-args>)
" Fix problems in files.
command! -bar ALEFix :call ale#fix#Fix()
command! -bar ALEFix :call ale#fix#Fix(bufnr(''), '')
" Suggest registered functions to use for fixing problems.
command! -bar ALEFixSuggest :call ale#fix#registry#Suggest(&filetype)