summaryrefslogtreecommitdiff
path: root/plugin/ale.vim
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2018-04-13 20:59:05 +0100
committerw0rp <devw0rp@gmail.com>2018-04-13 20:59:05 +0100
commitf5f3424fcf23b942257892537491d61decbe7aa9 (patch)
tree252c42d7946babe1781b814ba90c68aa2c44fe9f /plugin/ale.vim
parent56c7957a75d08b011c44cda7ec55864dd7cb5d31 (diff)
downloadale-f5f3424fcf23b942257892537491d61decbe7aa9.zip
#1501 Pass the buffer number from BufWritePost on to ale#fix#Fix
Diffstat (limited to 'plugin/ale.vim')
-rw-r--r--plugin/ale.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/ale.vim b/plugin/ale.vim
index 56d5c447..d64229b3 100644
--- a/plugin/ale.vim
+++ b/plugin/ale.vim
@@ -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)