neural icon indicating copy to clipboard operation
neural copied to clipboard

High voltage emoji doesn't show up in nvim but I can copy it from somewhere else

Open brycepg opened this issue 2 years ago • 3 comments

I copied this from the internet: ⚡
Pasting the above into nvim works Neural shows codes:

Screenshot_2023-01-19_15-13-11

:version
NVIM v0.8.2
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Compilation: /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grec
ord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp
,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-pr
otector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DNVIM_TS
_HAS_SET_MATCH_LIMIT -DNVIM_TS_HAS_SET_ALLOCATOR -O2 -g -Og -g -Wall -Wextra -pe
dantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversio
n -Wdouble-promotion -Wmissing-noreturn -Wmissing-format-attribute -Wmissing-pro
totypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fno-common -fdiag
nostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK
_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -DMIN_LOG_LEVEL=3 -I/builddir/build/BUILD
/neovim-0.8.2/redhat-linux-build/cmake.config -I/builddir/build/BUILD/neovim-0.8
.2/src -I/usr/include -I/usr/include/luajit-2.1 -I/builddir/build/BUILD/neovim-0
.8.2/redhat-linux-build/src/nvim/auto -I/builddir/build/BUILD/neovim-0.8.2/redha
t-linux-build/include
Compiled by mockbuild@koji

Features: +acl +iconv +tui
See ":help feature-compile"

brycepg avatar Jan 19 '23 22:01 brycepg

I changed the icon to C-v u26a1 in quotes and now it works for me. Not sure how interoperable it is or what this codebase was developed on in neural/lua/neural/config.lua

brycepg avatar Jan 19 '23 22:01 brycepg

@brycepg Hmm, I'm not sure why you are getting Unicode issues on your particular setup. Perhaps consider updating your fonts.

The default emoji is "Lightning Mood" which was approved as part of Unicode 7.0 in 2014.

The one you pasted is the "High Voltage" emoji was approved as part of Unicode 4.0 in 2003 under the name “High Voltage Sign”.

Angelchev avatar Feb 13 '23 13:02 Angelchev

i'm having the same issue on nvim and neovide. I'm using firacode-nerd font

ckangnz avatar Feb 15 '23 00:02 ckangnz