hrsh7th / cmp-nvim-lsp-signature-help

cmp-nvim-lsp-signature-help
622 stars 27 forks source link

Suggested items become active text with overloaded functions #19

Closed kubil6y closed 1 year ago

kubil6y commented 2 years ago

Peek 2022-07-29 23-33

does this happen to your setup also?

thekaganugur commented 2 years ago

Yes. This is probably because of

        ["<Tab>"] = cmp.mapping(function(fallback)
            if cmp.visible() then
                cmp.select_next_item()
            elseif luasnip.expand_or_jumpable() then
                luasnip.expand_or_jump()
            elseif has_words_before() then
                cmp.complete()
            else
                fallback()
            end
        end, { "i", "s" }),

in my case and there should be a if check but my lua/neovim is not that good.