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