Closed paulbdavis closed 5 years ago
@paulbdavis
I can't reproduce the problem in both vscode and coc.nvim, I don't use emacs, is it an issue handled by emacs lsp client?
I can reproduce it with neovim with prabirshrestha/vim-lsp.
It is using the label
field instead of the insertText
or newText
fields if insertTextFormat exists but != 1.
For constants, bingo currently returns "insertTextFormat": 2
, which stands for a snippet
So I think changing it in bingo to 1
(= plain text
) will at least fix it in vim-lsp, not sure about the emacs plugin though.
This issue is only happening on the latest tagged release. Building from master solves it.
Requesting a completion on a constant returns the value it is set to as well
This is occurring using
eglot
in emacsThe data coming back from bingo looks like this (in elisp)
I'm not sure if this is a bingo issue or something on my client's configuration