summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-09-03 20:12:45 +0100
committerw0rp <devw0rp@gmail.com>2017-09-03 20:12:54 +0100
commite235e5a6a5c09d98d523302ffde34bd9727762b5 (patch)
tree43daf21c12895588472b66d2e3dd8a56e3d50fd4 /doc
parent63e8946fc808c19512454b33d641be1a5fd99ce0 (diff)
downloadale-e235e5a6a5c09d98d523302ffde34bd9727762b5.zip
Make the grammar a little better for the g:ale_type_map option
Diffstat (limited to 'doc')
-rw-r--r--doc/ale.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/ale.txt b/doc/ale.txt
index a8b30213..70f90cc3 100644
--- a/doc/ale.txt
+++ b/doc/ale.txt
@@ -1039,10 +1039,10 @@ g:ale_type_map *g:ale_type_map*
Type: |Dictionary|
Default: `{}`
- This option can be set re-map problem types for linters. Each key in
- the |Dictionary| should be the name of a linter, and each value must be
- a |Dictionary| mapping error types from one type to another. The
- following types are supported:
+ This option can be set re-map problem types for linters. Each key in the
+ |Dictionary| should be the name of a linter, and each value must be a
+ |Dictionary| mapping problem types from one type to another. The following
+ types are supported:
`'E'` - `{'type': 'E'}`
`'ES'` - `{'type': 'E', 'sub_type': 'style'}`
@@ -1050,13 +1050,13 @@ g:ale_type_map *g:ale_type_map*
`'WS'` - `{'type': 'W', 'sub_type': 'style'}`
`'I'` - `{'type': 'I'}`
- For example, if you want to turn flake8 errors into warnings, you can do
+ For example, if you want to turn flake8 errors into warnings, you can write
the following: >
let g:ale_type_map = {'flake8': {'ES': 'WS', 'E': 'W'}}
<
If you wanted to turn style errors and warnings into regular errors and
- warnings, you can use the following: >
+ warnings, you can write the following: >
let g:ale_type_map = {'flake8': {'ES': 'E', 'WS': 'W'}}
<