summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2018-05-08 18:32:13 +0100
committerw0rp <devw0rp@gmail.com>2018-05-08 18:32:18 +0100
commit7541a40859040d4cd2a5d504cc41ccb1237013b4 (patch)
tree0ef0c6e8d894a8ec1cf41bdea8dfbbeb1d7a76bc /README.md
parent9023987fe0a7916afbed173c9cdc8f82811d071e (diff)
downloadale-7541a40859040d4cd2a5d504cc41ccb1237013b4.zip
#852 Update the REAME to mention %...code...%
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/README.md b/README.md
index 1183ad9a..1bfc5c10 100644
--- a/README.md
+++ b/README.md
@@ -515,6 +515,8 @@ There are 3 global options that allow customizing the echoed message.
- `g:ale_echo_msg_format` where:
* `%s` is the error message itself
+ * `%...code...%` is an optional error code, and most characters can be
+ written between the `%` characters.
* `%linter%` is the linter name
* `%severity` is the severity type
- `g:ale_echo_msg_error_str` is the string used for error severity.
@@ -532,6 +534,8 @@ Will give you:
![Echoed message](img/echo.png)
+See `:help g:ale_echo_msg_format` for more information.
+
<a name="faq-autocmd"></a>
### 5.viii. How can I execute some code when ALE starts or stops linting?