diff options
author | Patrick McLean <chutzpah@gentoo.org> | 2023-12-11 10:36:13 -0800 |
---|---|---|
committer | Patrick McLean <chutzpah@gentoo.org> | 2023-12-11 10:36:43 -0800 |
commit | 1447417f728c79729150f98b8339e594dc6480db (patch) | |
tree | bfa2a257a790835961bd78a595190aaaf483a365 /app-editors/helix | |
parent | dev-util/runme: new package, add 2.0.5 (diff) | |
download | gentoo-1447417f728c79729150f98b8339e594dc6480db.tar.gz gentoo-1447417f728c79729150f98b8339e594dc6480db.tar.bz2 gentoo-1447417f728c79729150f98b8339e594dc6480db.zip |
app-editors/helix: Pull in patch to update tree-sitter-gemini dep
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'app-editors/helix')
-rw-r--r-- | app-editors/helix/files/helix-23.10-tree-sitter-gemini-path.patch | 23 | ||||
-rw-r--r-- | app-editors/helix/helix-23.10-r1.ebuild | 4 |
2 files changed, 27 insertions, 0 deletions
diff --git a/app-editors/helix/files/helix-23.10-tree-sitter-gemini-path.patch b/app-editors/helix/files/helix-23.10-tree-sitter-gemini-path.patch new file mode 100644 index 000000000000..bb108f000b2f --- /dev/null +++ b/app-editors/helix/files/helix-23.10-tree-sitter-gemini-path.patch @@ -0,0 +1,23 @@ +From 41eca94bb6bf3642b1cdb80e89845813a9d03edc Mon Sep 17 00:00:00 2001 +From: Nimrod <ndh42@cornell.edu> +Date: Mon, 27 Nov 2023 20:31:20 -0500 +Subject: [PATCH] Update git source of Gemini grammar + +The author's username changed from "sfr" to "nbsp" +--- + languages.toml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/languages.toml b/languages.toml +index ef4687af8a71..33b27626e720 100644 +--- a/languages.toml ++++ b/languages.toml +@@ -2916,7 +2916,7 @@ file-types = ["gmi"] + + [[grammar]] + name = "gemini" +-source = { git = "https://git.sr.ht/~sfr/tree-sitter-gemini", rev = "3cc5e4bdf572d5df4277fc2e54d6299bd59a54b3" } ++source = { git = "https://git.sr.ht/~nbsp/tree-sitter-gemini", rev = "3cc5e4bdf572d5df4277fc2e54d6299bd59a54b3" } + + [[language]] + name = "templ" diff --git a/app-editors/helix/helix-23.10-r1.ebuild b/app-editors/helix/helix-23.10-r1.ebuild index 87c10936698d..85a1d08ac734 100644 --- a/app-editors/helix/helix-23.10-r1.ebuild +++ b/app-editors/helix/helix-23.10-r1.ebuild @@ -294,6 +294,10 @@ DOCS=( docs/ ) +PATCHES=( + "${FILESDIR}/helix-23.10-tree-sitter-gemini-path.patch" +) + src_compile() { use grammar || local -x HELIX_DISABLE_AUTO_GRAMMAR_BUILD=1 |