Skip to content

Commit

Permalink
Add an extra space to LspInlayHintsParam to make it legible
Browse files Browse the repository at this point in the history
  • Loading branch information
darkseid committed Jan 24, 2024
1 parent f65b81b commit 1c778a3
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 1c778a3

Please sign in to comment.