aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/tree-sitter.scm
diff options
context:
space:
mode:
authorAndrew Tropin <andrew@trop.in>2023-02-14 13:19:55 +0400
committerAndrew Tropin <andrew@trop.in>2023-02-14 17:08:18 +0400
commitadfbb5e3eb2e0787016830e060591bc987382092 (patch)
treeb97f5b039b85984de30c3a47e1388fb443b67ecc /gnu/packages/tree-sitter.scm
parentacae7b10e890d3128837406109a0190222b811c7 (diff)
downloadguix-adfbb5e3eb2e0787016830e060591bc987382092.tar
guix-adfbb5e3eb2e0787016830e060591bc987382092.tar.gz
gnu: Add tree-sitter-typescript.
gnu/packages/tree-sitter.scm (tree-sitter-typescript): New variable.
Diffstat (limited to 'gnu/packages/tree-sitter.scm')
-rw-r--r--gnu/packages/tree-sitter.scm8
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm
index 60bd602639..51703da85d 100644
--- a/gnu/packages/tree-sitter.scm
+++ b/gnu/packages/tree-sitter.scm
@@ -256,3 +256,11 @@ will be used in description and synopsis."
"175yrk382n2di0c2xn4gpv8y4n83x1lg4hqn04vabf0yqynlkq67"
"0.20.0"
#:commit "rust-0.20.0"))
+
+(define-public tree-sitter-typescript
+ (tree-sitter-grammar
+ "typescript" "TypeScript and TSX"
+ "07fl9d968lal0aqj4f0n16p3n94cjkgfp54wynfr8gbdkjss5v5x"
+ "0.20.1"
+ #:inputs (list tree-sitter-javascript)
+ #:grammar-directories '("typescript" "tsx")))