unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
blob b8d332984d082ae270625f07f411cbe146eeaac0 772 bytes (raw)
name: gnu/packages/patches/tree-sitter-org-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
 
From bdb16fc7157ad410cfc0c15235861a7e5a01783b Mon Sep 17 00:00:00 2001
From: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
Date: Tue, 2 Apr 2024 16:39:55 +0200
Subject: [PATCH] package.json: Add tree-sitter section.

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 f1557ba..f0ea705 100644
--- a/package.json
+++ b/package.json
@@ -27,5 +27,16 @@
   "license": "MIT",
   "bugs": {
     "url": "https://github.com/milisims/tree-sitter-org/issues"
-  }
+  },
+  "tree-sitter": [
+    {
+      "scope": "none",
+      "file-types": [
+        "org"
+      ],
+      "highlights": [
+        "queries/highlights.scm"
+      ]
+    }
+  ]
 }
-- 
2.41.0


debug log:

solving b8d332984d ...
found b8d332984d 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-org-package-json.patch b/gnu/packages/patches/tree-sitter-org-package-json.patch
new file mode 100644
index 0000000000..b8d332984d

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

index at:
100644 b8d332984d082ae270625f07f411cbe146eeaac0	gnu/packages/patches/tree-sitter-org-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).