RMichelsen / Nvy

Nvy - A Neovim client in C++

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Some special characters break highlighting in statusline

EtiamNullam opened this issue · comments

Having some "special" characters (for example from a nerd font) in statusline will lead to invalid colors across statusline.

Running exactly the same command, with the same version of Neovim (0.9.5), but with two versions of Nvy (top: 0.3.7, bottom: 0.3.6), leads to two different results:

image

The command should apply "function" highlight group to text "aaabbb":

:lua vim.o.statusline="%#function#aaabbb"

Seems like this bug was introduced in version 0.3.7 of Nvy, 0.3.6 is fine.

This problem is a bit broader for me as it affects both a bufferline plugin and a statusline plugin. This is my attempt to extract the problem so it can be reproduced without any plugins.

Thanks for providing the command that causes the issue! Does this still happen in 0.3.9? I was trying to reproduce it but I wasn't able to.

I can't seem to reproduce this, if it still happens please reopen the issue.