From ac18e1b6528166348a5f8e9dc530ff89b9529171 Mon Sep 17 00:00:00 2001 From: David Vo Date: Tue, 16 Aug 2022 00:51:49 +1000 Subject: [PATCH] Add Starlark support --- package.json | 5 +++-- src/extension.ts | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 887882a..d6f7e77 100644 --- a/package.json +++ b/package.json @@ -45,12 +45,13 @@ "onLanguage:ruby", "onLanguage:rust", "onLanguage:scala", + "onLanguage:scm", "onLanguage:scss", "onLanguage:shellscript", + "onLanguage:sparql", + "onLanguage:starlark", "onLanguage:talon", "onLanguage:typescript", - "onLanguage:sparql", - "onLanguage:scm", "onLanguage:typescriptreact", "onLanguage:xml", "onLanguage:yaml" diff --git a/src/extension.ts b/src/extension.ts index 4eda1aa..e07c47c 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -39,6 +39,7 @@ const languages: { scss: { module: "tree-sitter-scss" }, shellscript: { module: "tree-sitter-bash" }, sparql: { module: "tree-sitter-sparql" }, + starlark: { module: "tree-sitter-python" }, talon: { module: "tree-sitter-talon" }, typescript: { module: "tree-sitter-typescript" }, typescriptreact: { module: "tree-sitter-tsx" },