From b721caf4c9a79c1a212928e5697651f5d0a7a73b Mon Sep 17 00:00:00 2001 From: Daniel Kempkens Date: Sun, 3 Mar 2024 20:20:40 +0100 Subject: [PATCH] nvim: handle TypeParameter in cmp --- home/config/nvim/plugins/cmp.fnl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/home/config/nvim/plugins/cmp.fnl b/home/config/nvim/plugins/cmp.fnl index 0cb190d..4856433 100644 --- a/home/config/nvim/plugins/cmp.fnl +++ b/home/config/nvim/plugins/cmp.fnl @@ -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) "")