]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(compiler): Fix invalid expression in tombi compiler after d659fafcc
authorChristian Brabandt <cb@256bit.org>
Tue, 28 Oct 2025 20:50:44 +0000 (20:50 +0000)
committerChristian Brabandt <cb@256bit.org>
Tue, 28 Oct 2025 20:54:34 +0000 (20:54 +0000)
related: #18590

Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/compiler/tombi.vim

index e79a1368cd0dbdfa21d5a6ce86eb2470103d7cbd..bab95ba24c13f3caebec91105cb79f5194784c8f 100644 (file)
@@ -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