onsails/lspkind.nvim

How to get source visible in the cmp menu?

s1n7ax opened this issue · 1 comments

I have passed following configuration to cmp. It shows the kind icons and text but not the source. What do I have to do to get the source shown in the menu similar to screenshot in the README.md such as [LSP]

formatting = {
        format = lspkind.cmp_format({
                mode = 'symbol_text',
                with_text = true,
                maxwidth = 50,
        }),
},

Hey! I ran into the same problem haha but with a little bit of digging found this: https://github.com/hrsh7th/nvim-cmp/wiki/Menu-Appearance#basic-customisations