commit:     929bbebb5430f9d23032b138a57252d21b7db243
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Mar  8 16:10:35 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Mar  8 16:11:04 2025 +0000
URL:        https://gitweb.gentoo.org/proj/gentoo-syntax.git/commit/?id=929bbebb

Don't add freethreading impls to PYTHON_COMPAT

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 plugin/gentoo-common.vim | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugin/gentoo-common.vim b/plugin/gentoo-common.vim
index 668ea55..7d53ff6 100644
--- a/plugin/gentoo-common.vim
+++ b/plugin/gentoo-common.vim
@@ -73,7 +73,7 @@ fun! GentooGetPythonTargets()
                 let l:m = l:py->matchstr("^python3.*")->matchstr("\\d*$")
                 if !empty(l:m)
                     eval l:py3s->add(l:m)
-                else
+                elseif empty(l:py->matchstr("^python.*t$"))
                     eval l:impls->add(l:py->substitute("[.]", "_", "g"))
                 endif
             endfor

Reply via email to