diff --git a/src/inlay_hint/sv.rs b/src/inlay_hint/sv.rs index 7039eab..bbc4778 100644 --- a/src/inlay_hint/sv.rs +++ b/src/inlay_hint/sv.rs @@ -83,8 +83,11 @@ fn make_endmodule_hints( value: format!("module {}", module.name) }; + let mut pos = end_pos.to_lsp_position(); + pos.character += 1; + let hint = InlayHint { - position: end_pos.to_lsp_position(), + position: pos, label: InlayHintLabel::String(format!("module {}", module.name)), padding_left: Some(true), padding_right: Some(true),