ncm2 / ncm2-github

MIT License
10 stars 2 forks source link

No popup menu shows up #2

Closed caneta closed 6 years ago

caneta commented 6 years ago

I would like to view emoji popup menu as depicted in the gif inside readme file, but it does not show up. I'm on Ubuntu Linux 14.04, with Neovim 0.3: are there any prerequisites to make it work? Thanks

caneta commented 6 years ago

I noticed now that you have to write an .md file to get the menu shows up, sorry. But is there a way to force it on any filetype?

roxma commented 6 years ago

This github-emoji source is defined in https://github.com/ncm2/ncm2-github/blob/master/autoload/ncm2_github.vim#L129

To force it on any filetype, you could use call ncm2#override_source("github-emoji", {"scope": []})