Skip to content

Commit 03aa2dd

Browse files
Added Talon list language id (#116)
1 parent e50c006 commit 03aa2dd

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "parse-tree",
33
"displayName": "Parse tree",
44
"description": "Access document syntax using tree-sitter",
5-
"version": "0.41.0",
5+
"version": "0.42.0",
66
"publisher": "pokey",
77
"repository": {
88
"type": "git",
@@ -63,6 +63,7 @@
6363
"onLanguage:sparql",
6464
"onLanguage:starlark",
6565
"onLanguage:swift",
66+
"onLanguage:talon-list",
6667
"onLanguage:talon",
6768
"onLanguage:terraform",
6869
"onLanguage:typescript",

src/extension.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,12 @@ interface Language {
1010
parser?: treeSitter.Parser;
1111
}
1212

13+
/* eslint-disable @typescript-eslint/naming-convention */
14+
1315
// Be sure to declare the language in package.json and include a minimalist grammar.
1416
const languages: Record<string, Language | undefined> = {
15-
// eslint-disable-next-line @typescript-eslint/naming-convention
1617
"java-properties": { module: "tree-sitter-properties" },
18+
"talon-list": { module: "tree-sitter-talon" },
1719
agda: { module: "tree-sitter-agda" },
1820
c: { module: "tree-sitter-c" },
1921
clojure: { module: "tree-sitter-clojure" },

0 commit comments

Comments
 (0)