Skip to content
This repository was archived by the owner on Oct 13, 2021. It is now read-only.
This repository was archived by the owner on Oct 13, 2021. It is now read-only.

Matching should favor exact and substring against fuzzy #343

@lnicola

Description

@lnicola

Is your feature request related to a problem? Please describe.

Apologies if I'm missing something, I'm quite new to this plugin.

I set

let g:completion_matching_strategy_list = ['exact', 'substring', 'fuzzy']

However, the ordering of completions I get is less than great:

image

Describe the solution you'd like

Compare to what Code does:

image

I think exact and substring matches should come before fuzzy.

Describe alternatives you've considered

Not sure. Maybe it could use the order from g:completion_matching_strategy_list, but I don't really see the point. PS: I also don't see the point of all, as shown in the README example.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions