[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#64905] [PATCH v5 10/10] gnu: tree-sitter: Re-indent.
From: |
Hilton Chain |
Subject: |
[bug#64905] [PATCH v5 10/10] gnu: tree-sitter: Re-indent. |
Date: |
Thu, 19 Oct 2023 23:44:36 +0800 |
* gnu/packages/tree-sitter.scm (tree-sitter-javascript,tree-sitter-cpp)
(tree-sitter-elixir,tree-sitter-go,tree-sitter-python): Re-indent.
---
gnu/packages/tree-sitter.scm | 82 ++++++++++++++++++------------------
1 file changed, 41 insertions(+), 41 deletions(-)
diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm
index 057d853dd3..41257d42f1 100644
--- a/gnu/packages/tree-sitter.scm
+++ b/gnu/packages/tree-sitter.scm
@@ -320,26 +320,26 @@ (define-public tree-sitter-javascript
;; Commit required by tree-sitter-typescript 0.20.3.
(let ((commit "f772967f7b7bc7c28f845be2420a38472b16a8ee")
(revision "22"))
- (tree-sitter-grammar
- "javascript" "JavaScript(JSX)"
- "0vp7z57scpbcvyxpya06lnpz9f5kjdb66wjlkrp684xwjjgq1wxd"
- (git-version "0.20.0" revision commit)
- #:commit commit
- #:get-cleanup-snippet
- (lambda (grammar-directories)
- #~(begin
- (use-modules (guix build utils))
- (delete-file "tree-sitter-javascript.wasm")
- (delete-file "binding.gyp")
- (delete-file-recursively "bindings")
- (for-each
- (lambda (lang)
- (with-directory-excursion lang
- (delete-file "src/grammar.json")
- (delete-file "src/node-types.json")
- (delete-file "src/parser.c")
- (delete-file-recursively "src/tree_sitter")))
- '#$grammar-directories))))))
+ (tree-sitter-grammar
+ "javascript" "JavaScript(JSX)"
+ "0vp7z57scpbcvyxpya06lnpz9f5kjdb66wjlkrp684xwjjgq1wxd"
+ (git-version "0.20.0" revision commit)
+ #:commit commit
+ #:get-cleanup-snippet
+ (lambda (grammar-directories)
+ #~(begin
+ (use-modules (guix build utils))
+ (delete-file "tree-sitter-javascript.wasm")
+ (delete-file "binding.gyp")
+ (delete-file-recursively "bindings")
+ (for-each
+ (lambda (lang)
+ (with-directory-excursion lang
+ (delete-file "src/grammar.json")
+ (delete-file "src/node-types.json")
+ (delete-file "src/parser.c")
+ (delete-file-recursively "src/tree_sitter")))
+ '#$grammar-directories))))))
(define-public tree-sitter-typescript
(tree-sitter-grammar
@@ -373,11 +373,11 @@ (define-public tree-sitter-c
"0.20.6"))
(define-public tree-sitter-cpp
- (tree-sitter-grammar
- "cpp" "C++"
- "0fsb6la0da3azh7m9p1w3w079bpg6074dy8jisjw1yq1w1r9grxy"
- "0.20.3"
- #:inputs (list tree-sitter-c)))
+ (tree-sitter-grammar
+ "cpp" "C++"
+ "0fsb6la0da3azh7m9p1w3w079bpg6074dy8jisjw1yq1w1r9grxy"
+ "0.20.3"
+ #:inputs (list tree-sitter-c)))
(define-public tree-sitter-cmake
(tree-sitter-grammar
@@ -390,14 +390,14 @@ (define-public tree-sitter-elixir
;; No tags at all, version in the source code is 0.19.0
(let ((commit "b20eaa75565243c50be5e35e253d8beb58f45d56")
(revision "0"))
- (tree-sitter-grammar
- "elixir" "Elixir"
- "1i0c0xki3sv24649p0ws7xs2jagbwg7z7baz1960239bj94nl487"
- (git-version "0.19.0" revision commit)
- #:article "an"
- #:repository-url "https://github.com/elixir-lang/tree-sitter-elixir"
- #:commit commit
- #:license (list license:asl2.0 license:expat))))
+ (tree-sitter-grammar
+ "elixir" "Elixir"
+ "1i0c0xki3sv24649p0ws7xs2jagbwg7z7baz1960239bj94nl487"
+ (git-version "0.19.0" revision commit)
+ #:article "an"
+ #:repository-url "https://github.com/elixir-lang/tree-sitter-elixir"
+ #:commit commit
+ #:license (list license:asl2.0 license:expat))))
(define-public tree-sitter-heex
(tree-sitter-grammar
@@ -441,10 +441,10 @@ (define-public tree-sitter-gomod
#:repository-url "https://github.com/camdencheek/tree-sitter-go-mod.git"))
(define-public tree-sitter-go
- (tree-sitter-grammar
- "go" "Go"
- "0wlhwcdlaj74japyn8wjza0fbwckqwbqv8iyyqdk0a5jf047rdqv"
- "0.20.0"))
+ (tree-sitter-grammar
+ "go" "Go"
+ "0wlhwcdlaj74japyn8wjza0fbwckqwbqv8iyyqdk0a5jf047rdqv"
+ "0.20.0"))
(define-public tree-sitter-haskell
;; There are a lot of additions, the last tag was placed more than 4 years
ago
@@ -495,10 +495,10 @@ (define-public tree-sitter-php
#:commit commit)))
(define-public tree-sitter-python
- (tree-sitter-grammar
- "python" "Python"
- "1sxz3npk3mq86abcnghfjs38nzahx7nrn3wdh8f8940hy71d0pvi"
- "0.20.4"))
+ (tree-sitter-grammar
+ "python" "Python"
+ "1sxz3npk3mq86abcnghfjs38nzahx7nrn3wdh8f8940hy71d0pvi"
+ "0.20.4"))
(define-public tree-sitter-r
;; No tags
--
2.41.0
- [bug#64905] [PATCH v5 00/10] Update tree-sitter{, -{c{, pp, -sharp}, go, {java, type}script, python}},, Hilton Chain, 2023/10/19
- [bug#64905] [PATCH v5 01/10] gnu: tree-sitter: Update to 0.20.10., Hilton Chain, 2023/10/19
- [bug#64905] [PATCH v5 02/10] gnu: tree-sitter-bash: Update to 0.20.4., Hilton Chain, 2023/10/19
- [bug#64905] [PATCH v5 04/10] gnu: tree-sitter-javascript: Update to 0.20.0-22.f772967., Hilton Chain, 2023/10/19
- [bug#64905] [PATCH v5 03/10] gnu: tree-sitter-c-sharp: Update to 0.20.0., Hilton Chain, 2023/10/19
- [bug#64905] [PATCH v5 06/10] gnu: tree-sitter-python: Update to 0.20.4., Hilton Chain, 2023/10/19
- [bug#64905] [PATCH v5 07/10] gnu: tree-sitter-cpp: Update to 0.20.3., Hilton Chain, 2023/10/19
- [bug#64905] [PATCH v5 05/10] gnu: tree-sitter-typescript: Update to 0.20.3., Hilton Chain, 2023/10/19
- [bug#64905] [PATCH v5 08/10] gnu: tree-sitter-go: Update to 0.20.0., Hilton Chain, 2023/10/19
- [bug#64905] [PATCH v5 10/10] gnu: tree-sitter: Re-indent.,
Hilton Chain <=
- [bug#64905] [PATCH v5 09/10] gnu: tree-sitter-rust: Update to 0.20.4., Hilton Chain, 2023/10/19
- bug#64905: [PATCH v5 00/10] Update tree-sitter{, -{c{, pp, -sharp}, go, {java, type}script, python}},, Andrew Tropin, 2023/10/20