sontungexpt / sttusline

A very lightweight, super fast and lazyloading statusline plugin for Neovim written in lua.
MIT License
107 stars 7 forks source link

Some MD icon's codepoint has been changed in NerdFont v3 #8

Closed orumin closed 8 months ago

orumin commented 8 months ago

Material Design icon has wrong code point and they overlap some asian characters in the old version of NerdFont. NerdFont v3.0.0, release at May 1st has breaking change for codepoint due to correct this situation.

Breaking 2: Material Design Icons Codepoints The old Material Design Icon codepoints are finally dropped. Due to an historic mistace we placed them in between some asiatic glyphs, breaking that script. Since v2.3.0 the (updated and expanded) Material Design Icons have new codepoints in the 5 digit region.

https://github.com/ryanoasis/nerd-fonts/releases/tag/v3.0.0

in this project, some sttusline components' default text use old NF codepoint.

for example, encoding compoent use U+F77F (nf-mdi-format_strikethrough) which has moved to U+F0280 (nf-md-format_strikethrough) in NF v3