fix hover comment find
This commit is contained in:
parent
4b0e5f2d63
commit
3a4bd0c7e4
@ -98,7 +98,7 @@ fn make_hover_with_comment(doc: &Rope, line: usize, language_id: &str, exclude_c
|
||||
let currentr = current.clone().trim_end().to_owned();
|
||||
if currentl.starts_with("/*") && currentr.ends_with("*/") {
|
||||
valid = true;
|
||||
} else if currentr.ends_with("*/") {
|
||||
} else if currentr.ends_with("*/") && line_idx != line - 1 {
|
||||
multiline = true;
|
||||
valid = true;
|
||||
} else if currentl.starts_with("/*") {
|
||||
|
Loading…
x
Reference in New Issue
Block a user