summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHoracio Sanson <hsanson@gmail.com>2021-07-21 18:25:41 +0900
committerGitHub <noreply@github.com>2021-07-21 18:25:41 +0900
commit5ad4fdd583116ec253aaf43e2d457cd3e3aa5587 (patch)
treee981c9fdbd22fb74b6ab6fe256c0d3473db6af1d
parentc1c3873c89503118b1ce34e71e2fa47ebe6631e5 (diff)
downloadale-5ad4fdd583116ec253aaf43e2d457cd3e3aa5587.zip
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>
-rw-r--r--autoload/ale/sign.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/ale/sign.vim b/autoload/ale/sign.vim
index 0607e17a..21e06313 100644
--- a/autoload/ale/sign.vim
+++ b/autoload/ale/sign.vim
@@ -85,7 +85,7 @@ execute 'sign define ALEStyleWarningSign text=' . s:EscapeSignText(g:ale_sign_st
\ . ' texthl=ALEStyleWarningSign linehl=ALEWarningLine'
execute 'sign define ALEInfoSign text=' . s:EscapeSignText(g:ale_sign_info)
\ . ' 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 !hlexists('ALEErrorSignLineNr')