fix highlighting

This commit is contained in:
Ekaterina Babshukova 2019-10-15 19:25:57 +03:00
parent 328be5721a
commit 93c179531b
3 changed files with 3 additions and 2 deletions

View file

@ -751,6 +751,7 @@ pub fn handle_document_highlight(
Ok(Some(
refs.into_iter()
.filter(|r| r.file_id == file_id)
.map(|r| DocumentHighlight { range: r.range.conv_with(&line_index), kind: None })
.collect(),
))