Document the <Plug>(ale_fix) mapping

This commit is contained in:
w0rp 2017-06-01 21:13:05 +01:00
parent 0d3d5657ff
commit fbd76fb63d

View file

@ -809,6 +809,12 @@ upon some lines immediately, then run `eslint` from the ALE registry, and
then call a lambda function which will remove every single line comment then call a lambda function which will remove every single line comment
from the file. from the file.
For convenience, a plug mapping is defined for |ALEFix|, so you can set up a
keybind easily for fixing files. >
" Bind F8 to fixing problems with ALE
nmap <F8> <Plug>(ale_fix)
<
Files can be fixed automatically with the following options, which are all off Files can be fixed automatically with the following options, which are all off
by default. by default.
@ -833,6 +839,8 @@ ALEFix *ALEFix*
Fix problems with the current buffer. See |ale-fix| for more information. Fix problems with the current buffer. See |ale-fix| for more information.
A plug mapping `<Plug>(ale_fix)` is defined for this command.
ALELint *ALELint* ALELint *ALELint*