mirror of
https://github.com/Myriad-Dreamin/tinymist.git
synced 2025-07-24 13:13:43 +00:00
dev: recover module completion (#151)
* dev: recover module completion * dev: update snapshot
This commit is contained in:
parent
bd610b2323
commit
d256ff0556
2 changed files with 10 additions and 4 deletions
|
@ -879,9 +879,15 @@ fn code_completions(ctx: &mut CompletionContext, hash: bool) {
|
|||
);
|
||||
|
||||
ctx.snippet_completion(
|
||||
"import expression",
|
||||
"import module",
|
||||
"import \"${}\"",
|
||||
"Imports module from another file.",
|
||||
);
|
||||
|
||||
ctx.snippet_completion(
|
||||
"import module by expression",
|
||||
"import ${}",
|
||||
"Imports items from another file.",
|
||||
"Imports items by expression.",
|
||||
);
|
||||
|
||||
ctx.snippet_completion(
|
||||
|
|
|
@ -375,7 +375,7 @@ fn e2e() {
|
|||
});
|
||||
|
||||
let hash = replay_log(&tinymist_binary, &root.join("neovim"));
|
||||
insta::assert_snapshot!(hash, @"siphash128_13:3a5dda1ab162b4cb843916a23f05ac0");
|
||||
insta::assert_snapshot!(hash, @"siphash128_13:1985b18cd39f61bbd39407e961f5aa01");
|
||||
}
|
||||
|
||||
{
|
||||
|
@ -386,7 +386,7 @@ fn e2e() {
|
|||
});
|
||||
|
||||
let hash = replay_log(&tinymist_binary, &root.join("vscode"));
|
||||
insta::assert_snapshot!(hash, @"siphash128_13:75e8e25d2b63fc959c024b5a509466d7");
|
||||
insta::assert_snapshot!(hash, @"siphash128_13:7ad88801e18dadfb8001d0779c6bbc73");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue