runtime(doc): CmdUndefined and FuncUndefined can always be nested
Commit:
https://github.com/vim/vim/commit/af056949007b2395b3f8ca8c7efb591fe9d4be9e
Author: zeertzjq
Date: Sat Mar 8 16:45:20 2025 +0100
runtime(doc): CmdUndefined and FuncUndefined can always be nested
closes
Manuel Ortega wrote:
> If you try to run a nonexistent user command while there is an
> installed CmdUndefined autocmd, Vim will show the wrong error message.
> It shows E464 instead of E492. Here is a minimal example.
>
> $ vim -u NONE -N
>
> Now do:
>
> au
If you try to run a nonexistent user command while there is an
installed CmdUndefined autocmd, Vim will show the wrong error message.
It shows E464 instead of E492. Here is a minimal example.
$ vim -u NONE -N
Now do:
au CmdUndefined Snowflake echo "FOO"
Now do:
:Hanky
What I
> I wonder if we can think of a better name for v:rhs.
We will be able to provide it as v:command for CmdUndefined. But we will have
to provode v:function for FuncUndefined.
> And what will v:lhs be used for exactly?
Currently none. reserved for future.
--
--
You received this messag
Yasuhiro Matsumoto wrote:
> I implemented CmdUndefined autocmd that is listed in todo list.
>
> https://gist.github.com/mattn/a9591869fb5d4139a2aa
>
> http://marc.info/?l=vim-dev&m=100887940823495
> http://marc.info/?l=vim-dev&m=110788023426405
>
> I modifie
Hi list.
I implemented CmdUndefined autocmd that is listed in todo list.
https://gist.github.com/mattn/a9591869fb5d4139a2aa
http://marc.info/?l=vim-dev&m=100887940823495
http://marc.info/?l=vim-dev&m=110788023426405
I modified FuncUndefined also because add v:rhs to handle function