onsails / lspkind.nvim

vscode-like pictograms for neovim lsp completion items
MIT License
1.51k stars 39 forks source link

Text type suggestion is off to the left by one. #59

Closed YongzeYao closed 1 year ago

YongzeYao commented 1 year ago

image Here is how it looks like. I want all kinds to align perfectly. Is this a bug or is it because I have a messed up config. Here is my nvim-cmp config:

    formatting = {
        format = lspkind.cmp_format({
            maxwidth = 50,
            ellipsis_char = "...",
        }),
    },
onsails commented 1 year ago

I believe it has nothing to do with lspkind because it only works with "f Function" row, not the function completion. Does this problem persist if you disable lspkind?

YongzeYao commented 1 year ago

Huh... Interesting, same behavior even if I turned off lspkind. I will look into this and see if there is something wrong with my nvim-cmp. Thank you! And happy new year! : )