summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorAndrew Tropin <andrew@trop.in>2023-02-14 16:59:47 +0400
committerAndrew Tropin <andrew@trop.in>2023-02-14 17:08:37 +0400
commit637df0cd94dbe2cd1f1542ee2e149871009dd7ae (patch)
tree6b324e585e721abb6c3d1e16f9efd5efd024bcc4 /gnu
parent5c0b86f741b2d6b0eebb7b99dd04282328c34b4c (diff)
downloadguix-637df0cd94dbe2cd1f1542ee2e149871009dd7ae.tar.gz
gnu: Add tree-sitter-markdown-gfm.
gnu/packages/tree-sitter.scm (tree-sitter-markdown-gfm): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/tree-sitter.scm9
1 files changed, 9 insertions, 0 deletions
diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm
index a1e10e5434..162f606865 100644
--- a/gnu/packages/tree-sitter.scm
+++ b/gnu/packages/tree-sitter.scm
@@ -431,3 +431,12 @@ will be used in description and synopsis."
      #:grammar-directories '("tree-sitter-markdown"
                              "tree-sitter-markdown-inline")
      #:commit commit)))
+
+(define-public tree-sitter-markdown-gfm
+  ;; Not updated for more than 1 year, can be deprecated when gfm will be
+  ;; implemented in tree-sitter-markdown
+  (tree-sitter-grammar
+   "markdown-gfm" "Markdown (CommonMark Spec v0.29-gfm)"
+   "1a2899x7i6dgbsrf13qzmh133hgfrlvmjsr3bbpffi1ixw1h7azk"
+   "0.7.1"
+   #:repository-url "https://github.com/ikatyang/tree-sitter-markdown"))