github-complete.vim icon indicating copy to clipboard operation
github-complete.vim copied to clipboard

Allow Force Enabling Emojis

Open AGhost-7 opened this issue 9 years ago • 1 comments

I'm using Neovim from a docker container and emojis aren't showing in my omnicomplete dropdown.

Looked at the code and it seems like the autodetection doesn't handle linux. https://github.com/rhysd/github-complete.vim/blob/master/autoload/github_complete/emoji/data.vim#L898

I don't think there's really any way to figure out the host OS' fonts for the terminal, so if I can suggest anything it would be to allow users to force enable/disable the emojis from being displayed in the completion dropdown. Something like:

let g:github_complete#emoji#data#force_available = 1

AGhost-7 avatar Aug 20 '16 16:08 AGhost-7

Great that you wrote a patch yourself https://github.com/AGhost-7/github-complete.vim/commit/63497a5607980014c87107dbc8cd31f788a0b40d.

I really appreciate it! Thank you so much!

The only difference is that you named the option let g:github_complete_emoji_force_available = 1.

SuperSandro2000 avatar Aug 13 '20 06:08 SuperSandro2000