Skip to content

Status line appearance differs in NeoVim 0.11 #465

Description

@ararslan

NeoVim 0.11 introduced changes that affect this how this package colors the status line. This is what it looks like by default in NeoVim 0.11:

Image

This change1 restores the appearance from NeoVim 0.10.4 for me:

diff --git a/colors/gruvbox.vim b/colors/gruvbox.vim
index 66246fb..5df274f 100644
--- a/colors/gruvbox.vim
+++ b/colors/gruvbox.vim
@@ -512,8 +512,8 @@ call s:HL('IncSearch', s:hls_cursor, s:bg0, s:inverse)

 call s:HL('Underlined', s:blue, s:none, s:underline)

-call s:HL('StatusLine',   s:bg2, s:fg1, s:inverse)
-call s:HL('StatusLineNC', s:bg1, s:fg4, s:inverse)
+call s:HL('StatusLine',   s:bg2, s:fg1)
+call s:HL('StatusLineNC', s:bg1, s:fg4)

 " The column separating vertically split windows
 call s:HL('VertSplit', s:bg3, s:vert_split)

This is how it looks with the above change applied, which is the same as in 0.10.4:

Image

I'd be happy to make a PR with the above patch. It's unclear to me though what downstream effects that patch could have as written (with or without an appropriate has('nvim-0.11') guard).

Footnotes

  1. Note that this is slightly different from the corresponding change made to gruvbox.nvim: there, in addition to removing the inverse part, the arguments were swapped. That produces a different appearance for me when applied to this package.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions