Open
Description
Problem
Fuzzy matching in completion (completeopt
including fuzzy
) doesn't prioritize entries that begin with the entered sequence, unless it's a full word, see video:
alacritty_k0KOZi5iLc.mp4
Steps to reproduce
nvim --clean
:set completeopt=menuone,noselect,fuzzy
enter:
SomeWord
PrefixSomeWord
trigger keyword completion at a blank line (CTRL+X CTRL+N) and enter somewor
, observe that PrefixSomeWord
is above SomeWord
in the completion menu
Expected behavior
The doc mention that "Matches at the beginning of a word" is a criteria for scoring, so unless I'm misunderstanding it, I would expect entries that start with the entered sequence be scored higher.
Nvim version (nvim -v)
NVIM v0.11.1
Vim (not Nvim) behaves the same?
no idea
Operating system/version
Windows 11
Terminal name/version
Alacritty 0.15.1
$TERM environment variable
xterm-256color
Installation
Scoop
ddad431 and przepompownia
Metadata
Metadata
Assignees
Labels
wrong behavior inherited from vimwrong behavior inherited from vimNvim built-in (omni)completionNvim built-in (omni)completion