From 637df0cd94dbe2cd1f1542ee2e149871009dd7ae Mon Sep 17 00:00:00 2001 From: Andrew Tropin Date: Tue, 14 Feb 2023 16:59:47 +0400 Subject: [PATCH] gnu: Add tree-sitter-markdown-gfm. gnu/packages/tree-sitter.scm (tree-sitter-markdown-gfm): New variable. --- gnu/packages/tree-sitter.scm | 9 +++++++++ 1 file changed, 9 insertions(+) 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 @@ (define-public tree-sitter-markdown #: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"))