Skip to content

Commit

Permalink
Merge pull request #446 from darkseid-is/main
Browse files Browse the repository at this point in the history
Add an extra space to LspInlayHintsParam to make it legible
  • Loading branch information
yegappan authored Jan 25, 2024
2 parents 72301ac + 1c778a3 commit 786f079
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions autoload/lsp/inlayhints.vim
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ export def InlayHintsReply(lspserver: dict<any>, 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
Expand Down

0 comments on commit 786f079

Please sign in to comment.