From 8ded7cd784d582ce96bea5d643f6b6ded21631f3 Mon Sep 17 00:00:00 2001 From: Karl Hallsby Date: Wed, 27 Mar 2024 21:00:13 -0500 Subject: gnu: Add tree-sitter-tlaplus. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/tree-sitter.scm (tree-sitter-tlaplus): New variable. Change-Id: I0e66b87a872bdb29b3c01f4eaf4486dab3d1873f Signed-off-by: Ludovic Courtès --- gnu/packages/tree-sitter.scm | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'gnu/packages/tree-sitter.scm') diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm index 7515461993..f049ac590e 100644 --- a/gnu/packages/tree-sitter.scm +++ b/gnu/packages/tree-sitter.scm @@ -6,7 +6,7 @@ ;;; Copyright © 2023 Andrew Tropin ;;; Copyright © 2023, 2024 Nicolas Graves ;;; Copyright © 2023 Zheng Junjie <873216071@qq.com> -;;; Copyright © 2023 Raven Hallsby +;;; Copyright © 2023, 2024 Raven Hallsby ;;; ;;; This file is part of GNU Guix. ;;; @@ -677,3 +677,11 @@ which will be used as a snippet in origin." "scala" "Scala" "0hs6gmkq5cx9qrmgfz1mh0c34flwffc0k2mhwf13laawswnywfkz" "0.20.2")) + +(define-public tree-sitter-tlaplus + (tree-sitter-grammar + "tlaplus" "TLA+" + "1k60dnzafj6m9c2d4xnwiz3d7yw3bg3iwx7c1anhwr76iyxdci3w" + "1.0.8" + ;; Version 1.2.1 is most recent, but requires tree-sitter >0.21.0 + #:repository-url "https://github.com/tlaplus-community/tree-sitter-tlaplus")) -- cgit v1.2.3 From 1bd6a735ecde335e9af7ae62ca8c7845261f0cf9 Mon Sep 17 00:00:00 2001 From: Karl Hallsby Date: Sun, 31 Mar 2024 22:53:09 -0500 Subject: gnu: Add tree-sitter-latex. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/tree-sitter.scm (tree-sitter-latex): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/tree-sitter.scm | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'gnu/packages/tree-sitter.scm') diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm index f049ac590e..cac4fa543a 100644 --- a/gnu/packages/tree-sitter.scm +++ b/gnu/packages/tree-sitter.scm @@ -665,6 +665,13 @@ which will be used as a snippet in origin." (delete-file "binding.gyp") (delete-file-recursively "bindings")))))) +(define-public tree-sitter-latex + (tree-sitter-grammar + "latex" "LaTeX" + "0lc42x604f04x3kkp88vyqa5dx90wqyisiwl7nn861lyxl6phjnf" + "0.3.0" + #:repository-url "https://github.com/latex-lsp/tree-sitter-latex")) + (define-public tree-sitter-lua (tree-sitter-grammar "lua" "Lua" -- cgit v1.2.3 From a568ac8bcfb34b9277a0a93f413859beb300ef09 Mon Sep 17 00:00:00 2001 From: Karl Hallsby Date: Sun, 31 Mar 2024 22:53:10 -0500 Subject: gnu: Add tree-sitter-nix. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/tree-sitter.scm (tree-sitter-nix): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/tree-sitter.scm | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'gnu/packages/tree-sitter.scm') diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm index cac4fa543a..ee0acb82de 100644 --- a/gnu/packages/tree-sitter.scm +++ b/gnu/packages/tree-sitter.scm @@ -615,6 +615,15 @@ which will be used as a snippet in origin." #:commit commit #:license license:expat))) +(define-public tree-sitter-nix + (tree-sitter-grammar + "nix" "Nix" + "0nn3ij8k6wkbf3kcvkyyp0vhfjcksi31wyyfwmsbx66maf2xgaii" + "0.0.0" + ;; The most recent commit at time of packaging, no tags. + #:commit "763168fa916a333a459434f1424b5d30645f015d" + #:repository-url "https://github.com/nix-community/tree-sitter-nix")) + (define-public tree-sitter-org ;; There are a lot of additions, the last tag was placed a while ago (let ((commit "081179c52b3e8175af62b9b91dc099d010c38770") -- cgit v1.2.3