comparison runtime/doc/cmdline.txt @ 35062:f57990be7526 v9.1.0376

patch 9.1.0376: Vim9: Trailing commands after class/enum keywords ignored Commit: https://github.com/vim/vim/commit/ac7731895c996acef4d02b784f9952749226e203 Author: Yegappan Lakshmanan <yegappan@yahoo.com> Date: Sat Apr 27 11:36:12 2024 +0200 patch 9.1.0376: Vim9: Trailing commands after class/enum keywords ignored Problem: Vim9: Trailing commands after class/enum keywords ignored Solution: Remove EX_TRLBAR keyword from command definition (Yegappan Lakshmanan) closes: #14649 Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Sat, 27 Apr 2024 12:00:03 +0200
parents 4635e43f2c6f
children b2e515aab168
comparison
equal deleted inserted replaced
35061:04ab7e07642d 35062:f57990be7526
1 *cmdline.txt* For Vim version 9.1. Last change: 2023 Dec 09 1 *cmdline.txt* For Vim version 9.1. Last change: 2024 Apr 27
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
647 :vglobal 647 :vglobal
648 :windo 648 :windo
649 :write ! 649 :write !
650 :[range]! 650 :[range]!
651 a user defined command without the "-bar" argument |:command| 651 a user defined command without the "-bar" argument |:command|
652
653 and the following |Vim9-script| keywords:
654 :abstract
655 :class
656 :enum
657 :interface
652 658
653 Note that this is confusing (inherited from Vi): With ":g" the '|' is included 659 Note that this is confusing (inherited from Vi): With ":g" the '|' is included
654 in the command, with ":s" it is not. 660 in the command, with ":s" it is not.
655 661
656 To be able to use another command anyway, use the ":execute" command. 662 To be able to use another command anyway, use the ":execute" command.