mirror of
https://github.com/dense-analysis/ale
synced 2025-02-17 21:06:52 +00:00
Fix 3801 - Add ALEDummySign some width. (#3832)
* Fix 3801 - Add ALEDummySign some width. Due to changes in NeoVim 0.5 the g:ale_sign_column_always configuration stopped working. This PR sets the ALEDummySign to a blank space so when g: ale_sign_column_always is set we have a sign with 1 width allowing the configuration to work as before. https://github.com/neovim/neovim/issues/13635 * Fix visual artifact on dummy sign * Fix visual artifact on dummy sign (attempt 2) Co-authored-by: Horacio Sanson <horacio@allm.inc>
This commit is contained in:
parent
c1c3873c89
commit
5ad4fdd583
@ -85,7 +85,7 @@ execute 'sign define ALEStyleWarningSign text=' . s:EscapeSignText(g:ale_sign_st
|
|||||||
\ . ' texthl=ALEStyleWarningSign linehl=ALEWarningLine'
|
\ . ' texthl=ALEStyleWarningSign linehl=ALEWarningLine'
|
||||||
execute 'sign define ALEInfoSign text=' . s:EscapeSignText(g:ale_sign_info)
|
execute 'sign define ALEInfoSign text=' . s:EscapeSignText(g:ale_sign_info)
|
||||||
\ . ' texthl=ALEInfoSign linehl=ALEInfoLine'
|
\ . ' texthl=ALEInfoSign linehl=ALEInfoLine'
|
||||||
sign define ALEDummySign
|
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')
|
||||||
if !hlexists('ALEErrorSignLineNr')
|
if !hlexists('ALEErrorSignLineNr')
|
||||||
|
Loading…
Reference in New Issue
Block a user