Hi,
I am not able to use the :filter command from a Vim9 function:
--------------------------------------------
vim9script
def F1()
filter assert registers
enddef
F1()
--------------------------------------------
Sourcing the above script, results in "E476: Invalid command: filter assert".
If I try to use ":filter" (a colon before the command), I get the same error.
I had to use "echo execute('filter eval oldfiles')" to make this work. Is this
the expected behavior?
I am able to use this outside of a compiled function:
--------------------------------------------
vim9script
filter assert registers
--------------------------------------------
Thanks,
Yegappan
--
--
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/CAAW7x7%3DXNej-p8DVb1DpxTiH0Yvq0noutsAxHH91jp7%3DEj%3D9zw%40mail.gmail.com.