Deleted unnecessary class

This commit is contained in:
Jason Casareno
2022-08-01 15:02:22 -07:00
parent f515ac4f52
commit 0a241663ac

View File

@@ -115,37 +115,6 @@ export const environmentHighlightStyle = (aggregateEnvs: HoppRESTVar[]) => {
)
}
// export class HoppEnvironmentPlugin {
// private compartment = new Compartment()
//
// private envs: AggregateEnvironment[] = []
//
// constructor(
// subscribeToStream: StreamSubscriberFunc,
// private editorView: Ref<EditorView | undefined>
// ) {
// this.envs = getAggregateEnvs()
//
// subscribeToStream(aggregateEnvs$, (envs) => {
// this.envs = envs
//
// this.editorView.value?.dispatch({
// effects: this.compartment.reconfigure([
// cursorTooltipField(this.envs),
// environmentHighlightStyle(this.envs),
// ]),
// })
// })
// }
//
// get extension() {
// return this.compartment.of([
// cursorTooltipField(this.envs),
// environmentHighlightStyle(this.envs),
// ])
// }
// }
export class HoppReactiveVarPlugin {
private compartment = new Compartment()