Open krobelus opened 1 year ago
Otherwise it would be nice if you could explicitly set completionItem.filterText = "\xi" and so on.
Sorry I didn't realize that the absence of filterText
already implies that filterText == label
, so please disregard that part.
In any case I don't think I can add such a workaround without adversely impacting behavior for other servers..
Kakoune's LSP client, kak-lsp does not fully implement
filterText
, so when I type\x
I get something like this:so the labels are like
\xi
however after selecting it, it's properly expanded toξ
.I think it would be nice if the label would show both
\xi
as well asξ
. Maybeξ (\xi)
. If that is useful in other editors, I'd go for that.Otherwise it would be nice if you could explicitly set
completionItem.filterText = "\xi"
and so on. This would allowkak-lsp
to add a targeted workaround: iffilterText == label && filterText != insertText
thenkak-lsp
could make up a label that is"$filterText ($insertText)"
.Kakoune issue for background info: https://github.com/mawww/kakoune/pull/4418