summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-06-01 21:13:05 +0100
committerw0rp <devw0rp@gmail.com>2017-06-01 21:13:05 +0100
commitfbd76fb63d87573c0c46635a9df4c119db16bf55 (patch)
tree8d9bbcfb66926e5dfd3a9771f5a4ca9a246ad119 /doc
parent0d3d5657ffd44336f27bc0c8360d35df89be6bb7 (diff)
downloadale-fbd76fb63d87573c0c46635a9df4c119db16bf55.zip
Document the <Plug>(ale_fix) mapping
Diffstat (limited to 'doc')
-rw-r--r--doc/ale.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/ale.txt b/doc/ale.txt
index 2d08d68e..707e2a78 100644
--- a/doc/ale.txt
+++ b/doc/ale.txt
@@ -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
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
by default.
@@ -833,6 +839,8 @@ ALEFix *ALEFix*
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*