runtime(compiler): Fix invalid expression in tombi compiler after d659fafcc

Commit: 
https://github.com/vim/vim/commit/469f870c5e06cb4c1f4b78aa1a7cc354059631d0
Author: Christian Brabandt <[email protected]>
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 <[email protected]>

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

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/E1vDqnU-008Q4R-8A%40256bit.org.

Raspunde prin e-mail lui