commit 30d1d26c14bd1aed76523c1dff077b77146e60fb
parent ea57dea91f89c309a1ee4b7000599abeba8b8ae8
Author: zeertzjq <zeertzjq@outlook.com>
Date: Wed, 29 Oct 2025 08:17:58 +0800
vim-patch:469f870: runtime(compiler): Fix invalid expression in tombi compiler after d659fafcc
related: vim/vim#18590
https://github.com/vim/vim/commit/469f870c5e06cb4c1f4b78aa1a7cc354059631d0
Co-authored-by: Christian Brabandt <cb@256bit.org>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/runtime/compiler/tombi.vim b/runtime/compiler/tombi.vim
@@ -24,7 +24,7 @@ if !exists('s:tombi_nocolor')
function s:VersionGE(ver, req) abort
" Compare semantic versions a.b.c ≥ x.y.z
- let l:pa = map(split(a:ver), '\.'), 'str2nr(v:val)')
+ let l:pa = map(split(a:ver, '\.'), 'str2nr(v:val)')
let l:pb = map(split(a:req, '\.'), 'str2nr(v:val)')
while len(l:pa) < 3 | call add(l:pa, 0) | endwhile
while len(l:pb) < 3 | call add(l:pb, 0) | endwhile