onsails / lspkind.nvim

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

how to make symbol_map for cmp_tabnine work? #79

Closed cxwx closed 7 months ago

cxwx commented 7 months ago

Hi all: I've try to make code completer with codeium and tabnine using codeium.nvim and cmp-tabnine

cmp.setup{
        formatting = {
          format = require("lspkind").cmp_format({
            mode = "symbol_text",
            show_labelDetails = true,
            max_width = 20,
            symbol_map = {
              Codeium = "🅲", --INFO:worked
              Tabnine = "❾", -- TODO: not work
              Fittencode = "Ⓕ" --TODO not work, FC -> Text
            },
          }),
}
}

but only codeium symbol worked, the Tabnine has no symbol displayed like below.

截屏2024-04-20 00 03 55
cxwx commented 7 months ago

sorry wrong Tabnine, correct is TabNine