Pretty sig help

Wed, 01 Mar 2023 03:31:16 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 01 Mar 2023 03:31:16 -0500
changeset 1056
235dd39d6629
parent 1055
ba91fd3b81e1
child 1057
3c42989e695b

Pretty sig help

.config/nvim/lua/plugins/completion.lua file | annotate | diff | comparison | revisions
--- a/.config/nvim/lua/plugins/completion.lua
+++ b/.config/nvim/lua/plugins/completion.lua
@@ -20,7 +20,9 @@ return {
         },
         formatting = {
           format = function(entry, vim_item)
-            if vim_item.kind == "Text" then
+            if entry.source.name == "nvim_lsp_signature_help" then
+              vim_item.kind = ""
+            elseif vim_item.kind == "Text" then
               vim_item.kind = entry.source.name
             end
             return vim_item

mercurial