From 84d25af8d5457d5950120bb2670be4cd265308a2 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Thu, 2 Jun 2022 17:25:00 +0200 Subject: [PATCH] Add language information to 'package.json' Apparently this is needed by the 'tree-sitter' tooling for syntax highlighting. --- package.json | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 40748af..4b3d9ae 100644 --- a/package.json +++ b/package.json @@ -15,5 +15,15 @@ }, "scripts": { "test": "tree-sitter test" - } + }, + "tree-sitter": [ + { + "scope": "source.tiger", + "file-types": [ + "tig", + "tih" + ], + "injection-regex": "tiger" + } + ] }