Skip to content

Commit

Permalink
fix: build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
LuqueDaniel committed Jul 13, 2024
1 parent a5e7ba6 commit a06097f
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ export async function activate(context: ExtensionContext): Promise<void> {
// diagnostics (errors and warnings)
const diagnostics = languages.createDiagnosticCollection("renpy");
context.subscriptions.push(diagnostics);
subscribeToDocumentChanges(context, diagnostics);

// A TextDocument was saved
context.subscriptions.push(
Expand Down Expand Up @@ -135,14 +134,6 @@ export async function activate(context: ExtensionContext): Promise<void> {
});
context.subscriptions.push(migrateOldFilesCommand);

// custom command - refresh diagnostics
const refreshDiagnosticsCommand = commands.registerCommand("renpy.refreshDiagnostics", () => {
if (window.activeTextEditor) {
refreshDiagnostics(window.activeTextEditor.document, diagnostics);
}
});
context.subscriptions.push(refreshDiagnosticsCommand);

// custom command - toggle token debug view
let isShowingTokenDebugView = false;
const toggleTokenDebugViewCommand = commands.registerCommand("renpy.toggleTokenDebugView", async () => {
Expand Down

0 comments on commit a06097f

Please sign in to comment.