Skip to content

Commit

Permalink
fix: separate user tag parameters inlay hint
Browse files Browse the repository at this point in the history
Signed-off-by: azerr <azerr@redhat.com>
  • Loading branch information
angelozerr authored and fbricon committed Jul 10, 2024
1 parent 51aa262 commit df3dcbb
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,7 @@ private void createInlayHint(Section node, Template template, String name, Strin
InlayHint hint = new InlayHint();
hint.setKind(InlayHintKind.Parameter);
hint.setLabel(Either.forLeft(name + "=" + defaultValue));
hint.setPaddingRight(Boolean.TRUE);
int end = node.getEndParametersOffset();
Position position = template.positionAt(end);
hint.setPosition(position);
Expand Down

0 comments on commit df3dcbb

Please sign in to comment.