summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-10-29 17:03:29 +0000
committerw0rp <devw0rp@gmail.com>2017-10-29 17:03:29 +0000
commitdaecbad543c68de1c0a2d8c368e4edde2f90461e (patch)
tree07ef88ce52d7bc006f8f006add1468c18eea0ce5 /doc
parent1aa737cdc9b6e92b51823df93f356b4ec37beab3 (diff)
downloadale-daecbad543c68de1c0a2d8c368e4edde2f90461e.zip
Fix #719 - Add ALEReset and ALEResetBuffer for removing problems for all buffers or one buffer
Diffstat (limited to 'doc')
-rw-r--r--doc/ale.txt23
1 files changed, 21 insertions, 2 deletions
diff --git a/doc/ale.txt b/doc/ale.txt
index 20269788..340d7fa5 100644
--- a/doc/ale.txt
+++ b/doc/ale.txt
@@ -1468,8 +1468,7 @@ ALEDisableBuffer *ALEDisableBuffer*
globally, as disabling ALE globally removes the autocmd events needed to
perform linting with.
- The following plug mappings are defined, for conveniently defining
- keybinds:
+ The following plug mappings are defined, for conveniently defining keybinds:
|ALEToggle| - `<Plug>(ale_toggle)`
|ALEEnable| - `<Plug>(ale_enable)`
@@ -1478,6 +1477,8 @@ ALEDisableBuffer *ALEDisableBuffer*
|ALEEnableBuffer| - `<Plug>(ale_enable_buffer)`
|ALEDisableBuffer| - `<Plug>(ale_disable_buffer)`
+ For removing problems reported by ALE, but leaving ALE enabled, see
+ |ALEReset| and |ALEResetBuffer|.
ALEDetail *ALEDetail*
@@ -1505,6 +1506,24 @@ ALEInfoToClipboard *ALEInfoToClipboard*
your clipboard. This might not work on every machine.
+ALEReset *ALEReset*
+ALEResetBuffer *ALEResetBuffer*
+
+ `ALEReset` will remove all problems reported by ALE for all buffers.
+ `ALEResetBuffer` will remove all problems reported for a single buffer.
+
+ Either command will leave ALE linting enabled, so ALE will report problems
+ when linting is performed again. See |ale-lint| for more information.
+
+ The following plug mappings are defined, for conveniently defining keybinds:
+
+ |ALEReset| - `<Plug>(ale_reset)`
+ |ALEResetBuffer| - `<Plug>(ale_reset_buffer)`
+
+ ALE can be disabled globally or for a buffer with |ALEDisable| or
+ |ALEDisableBuffer|.
+
+
===============================================================================
9. API *ale-api*