Sunday, January 16, 2022

Re: vim9 script lambda

This is a link of simple test.

https://github.com/niva-xx/Zip

Le dimanche 16 janvier 2022 à 16:53:16 UTC+1, Bram Moolenaar a écrit :

Ni Va wrote:

> Using this simple vim9script imported from $MYVIMRC, I encounter a lambda
> error that I don't happen to find the origin.
> [image: Capture.PNG]

The code you included does not have a lambda definition. You can
probably find out where they were coming from with:

:verbose func <lambda>7

> *Code*
> com! -nargs=1 -bang -complete=dir Zip call MainHelper.ZipUpDir(<bang>
> '<args>')

This "<bang>" appears to be misplaced.

Otherwise, the lines have been split in the mail system, thus it's a it
difficult to reproduce anything.


--
You know you use Vim too much when you have this alias in your
~/.bashrc file: alias :e=/bin/vim (Eljay Love-Jensen)

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/8862a35e-45a5-473a-83d6-b14745678aacn%40googlegroups.com.

No comments:

Post a Comment