hrsh7th / nvim-compe

Auto completion Lua plugin for nvim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No fuzzy completion for [emoji]

dermorz opened this issue · comments

Checkhealth

health#compe#check
========================================================================
## compe:snippet
  - OK: snippet engine detected.

## compe:mapping
  - INFO: `compe#complete` is not mapped
  - INFO: `compe#confirm` is not mapped
  - INFO: `compe#close` is not mapped
  - INFO: `compe#scroll` is not mapped

Describe the bug

When auto-completing emojis starting with : the completion only matches the input exactly. I consider this a bug because many emojis start with prefixes like "heavy", "black", "white" and by typing ":up" I would expect to match at least all things containing "up".

To Reproduce

Steps to reproduce the behavior with the minimal config and the config from the README.md

$ nvim -u minimal.vim minimal.vim
  1. In insert mode type :up or :arrowup

Actual behavior

:up
🆙 :up:               [Emoji]
🙃 :upside_down_face: [Emoji]

or

:arrowup

Expected behavior

:up
🆙 :up:                      [Emoji]
🙃 :upside_down_face:        [Emoji]
↕️  :arrow_up_down:           [Emoji]
↖️  :arrow_upper_left:        [Emoji]
↗️  :arrow_upper_right:       [Emoji]
⏫ :arrow_double_up:         [Emoji]
⤴️  :arrow_heading_up:        [Emoji]
⬆️  :arrow_up:                [Emoji]
🔼 :arrow_up_small:          [Emoji]
<maybe more, I did not look up all matches>

or

:arrowup
↕️  :arrow_up_down:           [Emoji]
↖️  :arrow_upper_left:        [Emoji]
↗️  :arrow_upper_right:       [Emoji]
⏫ :arrow_double_up:         [Emoji]
⤴️  :arrow_heading_up:        [Emoji]
⬆️  :arrow_up:                [Emoji]
🔼 :arrow_up_small:          [Emoji]

Oh, I just saw the deprecation message in the issue list and the README.md. Closing this issue.