From 8f3a30f767f228b42d2e5350fc4b2d0e34eb5885 Mon Sep 17 00:00:00 2001 From: Joe Clack <28568841+Lordfirespeed@users.noreply.github.com> Date: Tue, 3 Oct 2023 21:08:13 +0100 Subject: [PATCH] Add `"contributes"` block (#730) --- packages/language/package.json | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/packages/language/package.json b/packages/language/package.json index 50c35c66c..1a4d6907f 100644 --- a/packages/language/package.json +++ b/packages/language/package.json @@ -28,5 +28,20 @@ }, "dependencies": { "langium": "1.2.0" + }, + "contributes": { + "languages": [ + { + "id": "zmodel", + "extensions": [".zmodel"] + } + ], + "grammars": [ + { + "language": "zmodel", + "scopeName": "source.zmodel", + "path": "./syntaxes/zmodel.tmLanguage.json" + } + ] } }