From 2c594e3fac94ce28cc032518eb90263f0d850c64 Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Thu, 13 Jul 2023 21:31:40 +0800 Subject: [PATCH] rosenthal: Add tree-sitter-yaml. * rosenthal/packages/tree-sitter.scm (tree-sitter-yaml): New variable. --- rosenthal/packages/tree-sitter.scm | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/rosenthal/packages/tree-sitter.scm b/rosenthal/packages/tree-sitter.scm index 9b4ca0c..835fbc1 100644 --- a/rosenthal/packages/tree-sitter.scm +++ b/rosenthal/packages/tree-sitter.scm @@ -19,3 +19,16 @@ "0kf4c4xs5naj8lpcmr3pbdvwj526wl9p6zphxxpimbll7qv6qfnd" "0.1.2" #:repository-url "https://github.com/camdencheek/tree-sitter-dockerfile")) + +(define-public tree-sitter-yaml + (let ((base + (tree-sitter-grammar + "yaml" "YAML" + "1bimf5fq85wn8dwlk665w15n2bj37fma5rsfxrph3i9yb0lvzi3q" + "0.5.0" + #:repository-url "https://github.com/ikatyang/tree-sitter-yaml"))) + (package + (inherit base) + (arguments + (append '(#:tests? #f) ;FIXME + (package-arguments base))))))