Mercurial > vim
view src/testdir/dumps/Test_sign_cursor_2.dump @ 27970:212c5894b8b1 v8.2.4510
patch 8.2.4510: Vim9: shortening commands leads to confusing script
Commit: https://github.com/vim/vim/commit/204852ae2adfdde10c656ca7f14e5b4207a69172
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Mar 5 12:56:44 2022 +0000
patch 8.2.4510: Vim9: shortening commands leads to confusing script
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".
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 05 Mar 2022 14:00:03 +0100 |
parents | 5cd0986ab02e |
children |
line wrap: on
line source
| +0#0000e05#a8a8a8255@1|x+0#0000000#ffffff0@72 | +0#0000e05#a8a8a8255@1|x+0#0000000#ffffff0@1| @70 |-+0&#ffff4012|)>m+0&#ffffff0@3| @68 | +0#0000e05#a8a8a8255@1|y+0#0000000#ffffff0@3| @68 |~+0#4040ff13&| @73 |:+0#0000000&|s|i|g|n| |d|e|f|i|n|e| |s|1| |t|e|x|t|=|-|)| @33|2|,|1| @10|A|l@1|