From 1c778a3ac79d11a51485e4310dda5d5d7a70a4d1 Mon Sep 17 00:00:00 2001 From: darkseid Date: Wed, 24 Jan 2024 12:32:32 +0530 Subject: [PATCH] Add an extra space to LspInlayHintsParam to make it legible --- autoload/lsp/inlayhints.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/autoload/lsp/inlayhints.vim b/autoload/lsp/inlayhints.vim index 86d8b089..e64deb91 100644 --- a/autoload/lsp/inlayhints.vim +++ b/autoload/lsp/inlayhints.vim @@ -57,6 +57,7 @@ export def InlayHintsReply(lspserver: dict, bnr: number, inlayHints: any) prop_add(hint.position.line + 1, byteIdx + 1, {type: 'LspInlayHintsType', text: label, bufnr: bnr}) elseif kind == "'parameter'" || kind == '2' + label = label .. " " prop_add(hint.position.line + 1, byteIdx + 1, {type: 'LspInlayHintsParam', text: label, bufnr: bnr}) endif