yatli / fvim

Cross platform Neovim front-end UI, built with F# + Avalonia

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can I customize / turn specific characters into images?

ziontee113 opened this issue · comments

Hi @yatli , I haven't used fvim yet, but I wonder if it's possible to customize / turn specific characters into images in fvim.

I see your cmp example on the README page and I wonder the possibilities. I dreamed about having images replaces characters for a while, so I can use them as conceals :)

Is this possible in fvim? Thank you very much!

The README example is a special case for popup menu, but in general I wouldn't recommend replacing a meaningful unicode codepoint (well that one is subjective), but then there's NERD font...

What kind of images do you want? Bitmaps won't work across different font/size; Vector images could be hacked into a font (custom emoji) though.

Yeah I was looking for bitmaps, but it seems quite impossible then 😄

There's another option: https://github.com/yatli/gui-widgets.nvim
Guess you can build conceal-like markers this way.

Oh boy I have no idea how to use what you just sent me 😄 but I appreciate it :)
It's still too soon for me to mess with the GUI side of things haha.