Skip to content

Commit

Permalink
Update extension.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
vrognas committed Sep 1, 2024
1 parent 215c784 commit 87f5245
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
// Declare the LanguageClient at the top level
let client: LanguageClient;

// This method is called when your extension is activated
// This function is executed when the registered Activation Event happens
export function activate(context: vscode.ExtensionContext) {
// Register a Folding Range Provider for the 'nmtran' language
let disposable = vscode.languages.registerFoldingRangeProvider(
Expand Down Expand Up @@ -87,7 +87,7 @@ export function activate(context: vscode.ExtensionContext) {
context.subscriptions.push(disposable);
}

// This method is called when your extension is deactivated
// Clean up before the extension becomes deactivated
export function deactivate(): Thenable<void> | undefined {
if (!client) {
return undefined;
Expand Down

0 comments on commit 87f5245

Please sign in to comment.