add macro-call node
This commit is contained in:
@@ -7,6 +7,8 @@ use crate::{
|
||||
};
|
||||
|
||||
pub(crate) fn highlight(db: &RootDatabase, file_id: FileId) -> Cancelable<Vec<HighlightedRange>> {
|
||||
let file = db.source_file(file_id);
|
||||
Ok(ra_editor::highlight(&file))
|
||||
let source_file = db.source_file(file_id);
|
||||
let mut res = ra_editor::highlight(&source_file);
|
||||
for node in source_file.syntax().descendants() {}
|
||||
Ok(res)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user