Is there a way to use vim9 autoloaded function in expression register?
The old way works:
vim9script
import autoload 'misc.vim'
iab p! println!()=misc#Eatchar('\s')
the dotted call doesn't:
vim9script
import autoload 'misc.vim'
iab p! println!()=misc.Eatchar('\s')
E121: Undefined variable: m
I sometimes want "collection->foreach((_, v) => ...v...)", a simple
one liner, no return or return ignored. I know it's not a performance
winner, or I'd want it more.
After a quick look at the code, it looks like simply introducing
another filtermap_T, FILTERMAP_FOREACH, and there's not much codi