diff options
author | w0rp <devw0rp@gmail.com> | 2017-05-21 19:22:48 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-05-21 19:22:48 +0100 |
commit | 23ee0d0992c876c605555a3a667cc84c52382ed4 (patch) | |
tree | e04f2a30d1a4dbca20d28d48939fc9766e3f916b /doc | |
parent | 57ad32f98656eebdc8c903d670c92cf458b31dce (diff) | |
download | ale-23ee0d0992c876c605555a3a667cc84c52382ed4.zip |
#149 - Set different highlights for info, style error, and style warning problems
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ale.txt | 13 |
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* |