unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
blob b56a565746956f4a6f0e8e511f48e45ab41f2b33 871 bytes (raw)
name: gnu/packages/patches/tree-sitter-plantuml-package-json.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
 
From badd0f313ca4f2478cfcb6484eb03ab1536c54f0 Mon Sep 17 00:00:00 2001
From: Jean-Pierre De Jesus DIAZ <jean@foundation.xyz>
Date: Tue, 2 Apr 2024 16:28:29 +0200
Subject: [PATCH] package.json: Add tree-sitter section.

SPDX-FileCopyrightText: © 2024 Foundation Devices, Inc. <hello@foundation.xyz>
SPDX-License-Identifier: MIT

Needed by newer tree-sitter versions.
---
 package.json | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/package.json b/package.json
index 7b31335..8597474 100644
--- a/package.json
+++ b/package.json
@@ -19,5 +19,16 @@
   "devDependencies": {
     "tree-sitter-cli": "^0.20.6",
     "prettier": "^2.7.1"
-  }
+  },
+  "tree-sitter": [
+    {
+      "scope": "source.wsd",
+      "file-types": [
+          "pu",
+          "puml",
+          "iuml",
+          "plantuml"
+      ]
+    }
+  ]
 }
-- 
2.41.0


debug log:

solving b56a565746 ...
found b56a565746 in https://yhetil.org/guix-patches/0d06834fbf889a9140b2087cf0b3a9fa1b5ab38f.1712070309.git.jean@foundation.xyz/

applying [1/1] https://yhetil.org/guix-patches/0d06834fbf889a9140b2087cf0b3a9fa1b5ab38f.1712070309.git.jean@foundation.xyz/
diff --git a/gnu/packages/patches/tree-sitter-plantuml-package-json.patch b/gnu/packages/patches/tree-sitter-plantuml-package-json.patch
new file mode 100644
index 0000000000..b56a565746

1:42: trailing whitespace.
-- 
Checking patch gnu/packages/patches/tree-sitter-plantuml-package-json.patch...
1:44: new blank line at EOF.
+
Applied patch gnu/packages/patches/tree-sitter-plantuml-package-json.patch cleanly.
warning: 2 lines add whitespace errors.

index at:
100644 b56a565746956f4a6f0e8e511f48e45ab41f2b33	gnu/packages/patches/tree-sitter-plantuml-package-json.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).