summaryrefslogtreecommitdiff
path: root/doc/ale.txt
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-05-21 19:22:48 +0100
committerw0rp <devw0rp@gmail.com>2017-05-21 19:22:48 +0100
commit23ee0d0992c876c605555a3a667cc84c52382ed4 (patch)
treee04f2a30d1a4dbca20d28d48939fc9766e3f916b /doc/ale.txt
parent57ad32f98656eebdc8c903d670c92cf458b31dce (diff)
downloadale-23ee0d0992c876c605555a3a667cc84c52382ed4.zip
#149 - Set different highlights for info, style error, and style warning problems
Diffstat (limited to 'doc/ale.txt')
-rw-r--r--doc/ale.txt13
1 files changed, 9 insertions, 4 deletions
diff --git a/doc/ale.txt b/doc/ale.txt
index 3331ba21..56642c2d 100644
--- a/doc/ale.txt
+++ b/doc/ale.txt
@@ -507,10 +507,15 @@ g:ale_set_highlights *g:ale_set_highlights*
Type: |Number|
Default: `has('syntax')`
- When this option is set to `1`, highlights will be set in for erros and
- warnings. The `ALEError` and `ALEWarning` highlight groups will be used to
- provide highlights, and default to linking to `SpellBad` and `SpellCap`
- respectively by default.
+ When this option is set to `1`, highlights will be set for problems.
+
+ ALE will use the following highlight groups for problems:
+
+ `ALEError` - Items with `'type': 'E'`
+ `ALEWarning` - Items with `'type': 'W'`
+ `ALEInfo` - Items with `'type': 'I'`
+ `ALEStyleError` - Items with `'type': 'E'` and `'sub_type': 'style'`
+ `ALEStyleWarning` - Items with `'type': 'W'` and `'sub_type': 'style'`
g:ale_set_loclist *g:ale_set_loclist*