Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

Commit bfa1371

Browse files
authored
Merge pull request #1170 from alexheretic/fix-hover-inf-loop
Fix hover infinite loop
2 parents cd79447 + db6528a commit bfa1371

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/actions/hover.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ pub fn extract_docs(
142142
};
143143
}
144144

145-
if in_meta {
145+
if !hit_top && in_meta {
146146
// Ignore milti-line attributes
147147
trace!(
148148
"extract_docs: ignoring multi-line attribute, next_row: {:?}, up: {}, in_meta: {}",

0 commit comments

Comments
 (0)