runtime(compiler): Fix invalid expression in tombi compiler after d659fafcc
Commit:
https://github.com/vim/vim/commit/469f870c5e06cb4c1f4b78aa1a7cc354059631d0
Author: Christian Brabandt <
c...@256bit.org>
Date: Tue Oct 28 20:50:44 2025 +0000
runtime(compiler): Fix invalid expression in tombi compiler after d659fafcc
related:
https://github.com/vim/vim/issues/18590
Signed-off-by: Christian Brabandt <
c...@256bit.org>
diff --git a/runtime/compiler/tombi.vim b/runtime/compiler/tombi.vim
index e79a1368c..bab95ba24 100644
--- 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