mirror of
https://github.com/Myriad-Dreamin/tinymist.git
synced 2025-11-24 05:06:41 +00:00
dev: collect func.with type information for signature help (#759)
* feat: static analysis on `func.with` bindings * test: update snapshot
This commit is contained in:
parent
67367b03bf
commit
f1f77065d7
16 changed files with 163 additions and 230 deletions
|
|
@ -11,11 +11,12 @@ use typst::syntax::package::PackageSpec;
|
|||
use typst::syntax::FileId;
|
||||
|
||||
use crate::docs::file_id_repr;
|
||||
use crate::package::{get_manifest_id, PackageInfo};
|
||||
use crate::syntax::{Decl, DefKind, Expr, ExprInfo};
|
||||
use crate::ty::Interned;
|
||||
use crate::LocalContext;
|
||||
|
||||
use super::{get_manifest_id, DefDocs, PackageInfo};
|
||||
use super::DefDocs;
|
||||
|
||||
/// Get documentation of definitions in a package.
|
||||
pub fn package_module_docs(ctx: &mut LocalContext, pkg: &PackageInfo) -> StrResult<PackageDefInfo> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue