mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 04:44:57 +00:00
Refactor show syntax tree action
This commit is contained in:
parent
ac3d0e8340
commit
ca5c59507f
8 changed files with 116 additions and 134 deletions
|
@ -49,6 +49,10 @@ export class Ctx {
|
|||
}
|
||||
}
|
||||
|
||||
get subscriptions(): { dispose(): any }[] {
|
||||
return this.extCtx.subscriptions;
|
||||
}
|
||||
|
||||
pushCleanup(d: { dispose(): any }) {
|
||||
this.extCtx.subscriptions.push(d);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue