Skip to content

Commit

Permalink
Close #4579 - Support numhl highlights for vim >= 8.2.3874
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
alt-romes committed Aug 5, 2023
1 parent af42e0b commit 15cbc0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/ale/sign.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 15cbc0e

Please sign in to comment.