Skip to content

lsp suggestions often don't show up when copilot suggestions are present #99

Description

@litoj

no matter the comparators I set, the nvim_lsp source gets often (not always) hidden when copilot suggestions "arrive":
image
but then:
image

while I'm writing copilot doesn't show anything, so lsp shows just fine, but when I stop, it mostly hides all suggestions from other sources.

my source list:

local src = {
	{ name = 'copilot', group_index = 2, keyword_length = 0, priority = 0 },
	{ name = 'nvim_lsp', group_index = 2 },
}
-- cmp comparators used:
	cmp.config.compare.score,
	-- cmp.config.compare.offset,
	cmp.config.compare.recently_used,
	cmp.config.compare.scopes,
	cmp.config.compare.kind,

As you can see, I tried setting the priority to 0, but to no avail.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions