feat: go to definition of include paths (#156)

This commit is contained in:
Myriad-Dreamin 2024-04-04 11:11:23 +08:00 committed by GitHub
parent 36eea552ac
commit 1c5c6bd929
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 36 additions and 13 deletions

View file

@ -48,7 +48,7 @@ pub(crate) fn find_references(
let node = match deref_target {
DerefTarget::VarAccess(node) => node,
DerefTarget::Callee(node) => node,
DerefTarget::ImportPath(..) => {
DerefTarget::ImportPath(..) | DerefTarget::IncludePath(..) => {
return None;
}
};