commit: dd70b28cf709d798eeb24d7112e051c08550afd3
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 8 16:09:32 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=dd70b28c
Substitute dots in 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 faa8f6c..668ea55 100644
--- a/plugin/gentoo-common.vim
+++ b/plugin/gentoo-common.vim
@@ -74,7 +74,7 @@ fun! GentooGetPythonTargets()
if !empty(l:m)
eval l:py3s->add(l:m)
else
- eval l:impls->add(l:py)
+ eval l:impls->add(l:py->substitute("[.]", "_", "g"))
endif
endfor
if len(l:py3s) ==# 1