Add support for ALE syntax checker

https://github.com/dense-analysis/ale

- General optimization of the tones for ALE highlighting in the sign
column and on error and warning markings in file.
- If 'g:ale_sign_highlight_linenrs' is enabled this will use Neovim's
number line highlighting.
This commit is contained in:
boweevil
2019-12-08 20:49:43 -05:00
parent cd5e87ccfa
commit d916a6438c
6 changed files with 834 additions and 6 deletions

View File

@@ -219,5 +219,41 @@ pandocMetadataKey blue none
pandocMetadata blue none bold
pandocMetadataTitle -> pandocMetadata
# }}}
# }}}
# ale {{{
#if get(g:, '@optionprefix_statusline', '') ==# 'flat'
ALEErrorSign red none bold
ALEInfoSign cyan none bold
ALEWarningSign yellow none bold
ALEErrorSignLineNr red none
ALEInfoSignLineNr cyan none
ALEWarningSignLineNr yellow none
#else
#if get(g:, 'ale_sign_highlight_linenrs', '') ==# 1
ALEErrorSign base02 red bold
ALEInfoSign base02 cyan bold
ALEWarningSign base02 yellow bold
#else
ALEErrorSign red base02 bold
ALEInfoSign cyan base02 bold
ALEWarningSign yellow base02 bold
#endif
ALEErrorSignLineNr base02 red
ALEInfoSignLineNr base02 cyan
ALEWarningSignLineNr base02 yellow
#endif
ALEError red none undercurl guisp=red
ALEErrorLine none none
ALEInfo cyan none undercurl guisp=cyan
ALEInfoLine none none
ALEWarning yellow none undercurl guisp=yellow
ALEWarningLine none none
ALEStyleError -> ALEError
ALEStyleErrorSign -> ALEErrorSign
ALEStyleErrorSignLineNr -> ALEErrorSignLineNr
ALEStyleWarning -> ALEWarning
ALEStyleWarningSign -> ALEWarningSign
ALEStyleWarningSignLineNr -> ALEWarningSignLineNr
# }}}
# }}}