Tuesday, January 11, 2022

vim9script process a range with a function

How in vim9script a range should be processed by a def function?

Vim9.txt states that def functions do not support range option.

So given a range what def function would/should do? Run it for every line in range?

How do I get smth similar to a:firstline and a:lastline?

--
--
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/1f5954ad-48e5-4cab-9e56-7751dd7c46cbn%40googlegroups.com.

No comments:

Post a Comment