hrsh7th / cmp-nvim-lsp-signature-help

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

Weird "Text" at the end #24

Closed lazywei closed 1 year ago

lazywei commented 1 year ago

For some reason I'm getting this "Text" at the end of the signature help. It's showing up for every kind of arguments so I don't think this is something related to the typing.

If I invoke :lua vim.lsp.buf.signature_help() then it's working as expected (i.e., no "Text" at the end).

Is this coming from this plugin or is this coming from my lsp directly (as reference, i'm using gopls for Go)

image

hrsh7th commented 1 year ago

This is nvim-cmp's kind field. You can remove kind field from completion menu. See :help cmp-config.formatting.fields

lazywei commented 1 year ago

Got it. I managed to use use https://github.com/onsails/lspkind.nvim to generate the formatting settings. Thank you!!