summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorfenuks <fenuks@protonmail.com>2018-04-12 02:23:58 +0200
committerfenuks <fenuks@protonmail.com>2018-04-18 02:13:24 +0200
commita591b191db819f2c78a852936bd9742a831f56cb (patch)
treed0c58670f2852f333e33cb9cb509a3dc717997ba /plugin
parentf9ba3d924fc445ceea6ab7a6700b95dd12d268ca (diff)
downloadale-a591b191db819f2c78a852936bd9742a831f56cb.zip
Make ALEFix support arguments
Diffstat (limited to 'plugin')
-rw-r--r--plugin/ale.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/ale.vim b/plugin/ale.vim
index d64229b3..3f157bc0 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(bufnr(''), '')
+command! -bar -nargs=* -complete=customlist,ale#fix#registry#CompleteFixers ALEFix :call ale#fix#Fix(bufnr(''), '', <f-args>)
" Suggest registered functions to use for fixing problems.
command! -bar ALEFixSuggest :call ale#fix#registry#Suggest(&filetype)