mirror of
https://github.com/Myriad-Dreamin/tinymist.git
synced 2025-07-19 18:55:01 +00:00
refactor: refactor hover, analysis/global, and docs crates (#755)
* dev: refactor hover.rs * refactor refactor AnalysisContext * refactor: refactor docs crate
This commit is contained in:
parent
1c1bc19caf
commit
8f3566366e
44 changed files with 694 additions and 790 deletions
|
@ -31,7 +31,7 @@ pub struct SymbolRequest {
|
|||
impl SemanticRequest for SymbolRequest {
|
||||
type Response = Vec<SymbolInformation>;
|
||||
|
||||
fn request(self, ctx: &mut AnalysisContext) -> Option<Self::Response> {
|
||||
fn request(self, ctx: &mut LocalContext) -> Option<Self::Response> {
|
||||
// todo: let typst.ts expose source
|
||||
|
||||
let mut symbols = vec![];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue