1
0
Fork 0

nvim: handle TypeParameter in cmp

This commit is contained in:
Daniel Kempkens 2024-03-03 20:20:40 +01:00
parent e053cb9b44
commit b721caf4c9
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM

View file

@ -89,6 +89,11 @@
(do
(set kind.kind " 󰅌 ")
(set kind.menu " (Clipboard)"))
(= (. strings 1) :TypeParameter)
(do
(set kind.kind "  ")
(set kind.menu
" (TypeParameter)"))
(do
(set kind.kind
(.. " " (or (. strings 1) "")