things are working: time to piggyback off the highlighter's parser
This commit is contained in:
parent
0dfe89f353
commit
363a0ce4fc
3 changed files with 25 additions and 6 deletions
|
|
@ -60,6 +60,7 @@ pub fn query_files_at_paths(
|
|||
)?;
|
||||
results.push(CaptureInfo {
|
||||
name: capture_name.to_string(),
|
||||
position: capture.node.start_position(),
|
||||
});
|
||||
}
|
||||
} else {
|
||||
|
|
@ -86,6 +87,7 @@ pub fn query_files_at_paths(
|
|||
}
|
||||
results.push(CaptureInfo {
|
||||
name: capture_name.to_string(),
|
||||
position: capture.node.start_position(),
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue