mirror of
https://github.com/dense-analysis/ale
synced 2025-03-08 22:27:42 +00:00
Close #4579 - Support numhl highlights for vim >= 8.2.3874
In #2637, support for numhl highlights was added for nvim. In the meantime, vim added support for numhl highlights in patch 8.2.3874. This patch allows numhl highlights to be enabled in ALE for vim >= 8.2.3874 too.
This commit is contained in:
parent
af42e0b510
commit
15cbc0e912
@ -87,7 +87,7 @@ execute 'sign define ALEInfoSign text=' . s:EscapeSignText(g:ale_sign_info)
|
||||
\ . ' texthl=ALEInfoSign linehl=ALEInfoLine'
|
||||
sign define ALEDummySign text=\ texthl=SignColumn
|
||||
|
||||
if g:ale_sign_highlight_linenrs && has('nvim-0.3.2')
|
||||
if g:ale_sign_highlight_linenrs && (has('nvim-0.3.2') || has('patch-8.2.3874'))
|
||||
if !hlexists('ALEErrorSignLineNr')
|
||||
highlight link ALEErrorSignLineNr CursorLineNr
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user