I wrote:

> Patch 8.2.4510
> Problem:    Vim9: shortening commands leads to confusing script.
> Solution:   In Vim9 script require at least ":cont" for ":continue", "const"
>             instead of "cons", "break" instead of "brea", "catch" instead of
>             "cat", "else" instead of "el" "elseif" instead of "elsei" "endfor"
>             instead of "endfo" "endif" instead of "en" "endtry" instead of
>             "endt", "finally" instead of "fina", "throw" instead of "th",
>             "while" instead of "wh".
> Files:      src/ex_cmds.h, src/ex_docmd.c, src/errors.h, src/evalvars.c,
>             src/vim9compile.c, src/testdir/test_vim9_script.vim

After requiring to use ":var" and disallow ":va", to make Vim9 scripts
more readable, I was wondering if we should do this for more commands.
Especially using "en" instead of "endif" makes a script harder to
understand.  So why not do it for all the flow commands?

Let me know if you think this restriction is too much.

-- 
hundred-and-one symptoms of being an internet addict:
169. You hire a housekeeper for your home page.

 /// Bram Moolenaar -- [email protected] -- 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_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/20220305134118.587B41C02C5%40moolenaar.net.

Raspunde prin e-mail lui