diff --git a/src/wasm-tree-sitter-grammar.js b/src/wasm-tree-sitter-grammar.js index fc6c87647..0ba4897e9 100644 --- a/src/wasm-tree-sitter-grammar.js +++ b/src/wasm-tree-sitter-grammar.js @@ -348,12 +348,10 @@ module.exports = class WASMTreeSitterGrammar { return this.emitter.on('did-change-query-file', callback); } - // TODO: Why is this here? activate() { this.registration = this.registry.addGrammar(this); } - // TODO: Why is this here? deactivate() { this.registration?.dispose(); this.subscriptions?.dispose();