mirror of
https://github.com/Myriad-Dreamin/tinymist.git
synced 2025-07-24 05:05:00 +00:00
feat: go to definition of include paths (#156)
This commit is contained in:
parent
36eea552ac
commit
1c5c6bd929
7 changed files with 36 additions and 13 deletions
|
@ -102,7 +102,7 @@ impl StatefulRequest for CompletionRequest {
|
|||
match_ident = Some(v);
|
||||
}
|
||||
}
|
||||
Some(DerefTarget::ImportPath(v)) => {
|
||||
Some(DerefTarget::ImportPath(v) | DerefTarget::IncludePath(v)) => {
|
||||
if !v.text().starts_with(r#""@"#) {
|
||||
completion_result = complete_path(ctx, v, &source, cursor);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue