From 7e528945d6759677e4ef414f6af6c06f7b32666e Mon Sep 17 00:00:00 2001 From: Selimaj Dev Date: Fri, 22 May 2026 09:59:46 +0200 Subject: [PATCH] Updated stuff --- package.json | 4 ++-- src/extension.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 0ee2ee3..184aa4a 100644 --- a/package.json +++ b/package.json @@ -10,8 +10,8 @@ "Other" ], "activationEvents": [ - "workspaceContains:mist.json", - "workspaceContains:*/mist.json" + "workspaceContains:Cargo.toml", + "workspaceContains:*/Cagro.toml" ], "main": "./out/extension.js", "contributes": {}, diff --git a/src/extension.ts b/src/extension.ts index 654db22..a910eca 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -31,7 +31,7 @@ export async function activate(context: ExtensionContext) { // Register the server for plain text documents documentSelector: [{ scheme: 'file', language: 'mist' }], synchronize: { - fileEvents: workspace.createFileSystemWatcher('**/mist.json') + fileEvents: workspace.createFileSystemWatcher('**/*.mist') } };