From 23ee0d0992c876c605555a3a667cc84c52382ed4 Mon Sep 17 00:00:00 2001 From: w0rp Date: Sun, 21 May 2017 19:22:48 +0100 Subject: #149 - Set different highlights for info, style error, and style warning problems --- doc/ale.txt | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'doc/ale.txt') 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* -- cgit v1.2.3