dev-libs/tree-sitter-vim: Fix test in 0.5.0

Tests was fixed in 0.6.0 by commit
0f31cb98e5

Closes: https://bugs.gentoo.org/955711
Signed-off-by: Brahmajit Das <listout@listout.xyz>
Part-of: https://github.com/gentoo/gentoo/pull/44703
Closes: https://github.com/gentoo/gentoo/pull/44703
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Brahmajit Das 2025-11-21 10:02:11 +05:30 committed by Sam James
parent b3d6c3f978
commit dcdc4fff81
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
2 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,18 @@
https://github.com/tree-sitter-grammars/tree-sitter-vim/commit/0f31cb98e5c0cb3707e097bf95a04c0c2aac573d
From: Perchun Pak <github@perchun.it>
Date: Sat, 5 Apr 2025 13:12:03 +0200
Subject: [PATCH] fix(config): add `file-types` to tree-sitter.json (#33)
--- a/tree-sitter.json
+++ b/tree-sitter.json
@@ -4,6 +4,7 @@
"name": "vim",
"path": ".",
"scope": "text.vim",
+ "file-types": [ "vim" ],
"highlights": "queries/vim/highlights.scm",
"injections": "queries/vim/injections.scm"
}
--
2.52.0

View File

@ -14,3 +14,7 @@ SRC_URI="https://github.com/tree-sitter-grammars/tree-sitter-vim/archive/v${PV}.
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~riscv x86"
PATCHES=(
"${FILESDIR}/${PN}-0.5.0-fix-config-add-file-types-to-tree-sitter.patch"
)