修复 endmodule 后面的 inlay hints 在结尾处的异常
This commit is contained in:
parent
b368bc35f5
commit
8698584bd1
@ -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),
|
||||
|
Loading…
x
Reference in New Issue
Block a user