缅怀童年!《西游记》已故演员群像 望经典代代传
2 questions
2
votes
1
answer
168
views
Using a lambda inside foreach()
I can use the foreach() function with a string, like so:
:call foreach([37,73], 'echo v:val')
37
73
or with a Funcref:
function Foobar(key,val)
echo a:val
endfunction
:call foreach([37,73], ...
0
votes
1
answer
73
views
What VimScript function can print a message like the echo command does?
Can I :call a_builtin("my message") and make it print my message to the command line?
Google and ChatGPT only show me :echo "my message" or :echomsg, but neither of those are valid ...