0
0
mirror of https://github.com/vim/vim.git synced 2025-11-13 22:54:27 -05:00

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

related: #18590

Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Christian Brabandt
2025-10-28 20:50:44 +00:00
parent d659fafccd
commit 469f870c5e

View 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