mirror of
https://github.com/dense-analysis/ale.git
synced 2026-02-09 19:21:33 +08:00
#149 - Set different highlights for info, style error, and style warning problems
This commit is contained in:
13
doc/ale.txt
13
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*
|
||||
|
||||
Reference in New Issue
Block a user