Bram Moolenaar
3f3597be3f
patch 8.2.4122: ":command Cmd" does not show custom completion argument
...
Problem: ":command Cmd" does not show custom completion argument.
Solution: Show the completion argument when using ":verbose".
2022-01-17 19:06:56 +00:00
Bram Moolenaar
f87dac04c3
patch 8.2.3817: Vim9: Not using NL as command end does not work for :autocmd
...
Problem: Vim9: Not using NL as command end does not work for :autocmd.
Solution: Only ignore NL for commands with an expression argument.
2021-12-15 17:53:40 +00:00
Bram Moolenaar
205f29c3e9
patch 8.2.3779: using freed memory when defining a user command recursively
...
Problem: Using freed memory when defining a user command from a user
command.
Solution: Do not use the command pointer after executing the command.
(closes #9318 )
2021-12-10 21:46:09 +00:00
Bram Moolenaar
af377e34b0
patch 8.2.3694: cannot use quotes in the count of an Ex command
...
Problem: Cannot use quotes in the count of an Ex command.
Solution: Add getdigits_quoted(). Give an error when misplacing a quote in
a range. (closes #9240 )
2021-11-29 12:12:43 +00:00
Bram Moolenaar
326e7da609
patch 8.2.3586: command completion test fails
...
Problem: Command completion test fails.
Solution: Add new argument to expected output
2021-11-12 16:06:03 +00:00
Bram Moolenaar
bdcba24d85
patch 8.2.3433: :delcommand does not take a -buffer option
...
Problem: :delcommand does not take a -buffer option.
Solution: Add the -buffer option.
2021-09-12 20:58:02 +02:00
Bram Moolenaar
ec1b0968aa
patch 8.2.3405: cannot have a comment line in a {} block of a user command
...
Problem: Cannot have a comment line in a {} block of a user command.
Solution: Continue after the line break. (closes #8837 )
2021-09-06 17:10:59 +02:00
Bram Moolenaar
63b9173693
patch 8.2.3297: cannot use all commands inside a {} block
...
Problem: Cannot use all commands inside a {} block after :command and
:autocmd.
Solution: Do consider \n to separate commands. (closes #8620 )
2021-08-05 20:40:03 +02:00
Bram Moolenaar
6868634abd
patch 8.2.3235: cannot use lambda in {} block in user command
...
Problem: Cannot use lambda in {} block in user command. (Martin Tournoij)
Solution: Do not go over the end of the lambda.
2021-07-28 15:54:54 +02:00
Bram Moolenaar
5d7c2df536
patch 8.2.3228: cannot use a simple block for the :command argument
...
Problem: Cannot use a simple block for the :command argument. (Maarten
Tournoij)
Solution: Recognize a simple {} block. (issue #8623 )
2021-07-27 21:17:32 +02:00
Bram Moolenaar
cc7eb2aa7a
patch 8.2.3149: some plugins have a problem with the error check
...
Problem: Some plugins have a problem with the error check for using
:command with -complete but without -nargs.
Solution: In legacy script only give a warning message.
2021-07-11 19:12:04 +02:00
Martin Tournoij
de69a7353e
patch 8.2.3141: no error when using :complete for :command without -nargs
...
Problem: No error when using :complete for :command without -nargs.
Solution: Give an error. (Martin Tournoij, closes #8544 , closes #8541 )
2021-07-11 14:28:25 +02:00
Bram Moolenaar
9d8d0b5c64
patch 8.2.0633: crash when using null partial in filter()
...
Problem: Crash when using null partial in filter().
Solution: Fix crash. Add more tests. (Yegappan Lakshmanan, closes #5976 )
2020-04-24 22:47:31 +02:00
Bram Moolenaar
ea04a6e8ba
patch 8.2.0619: null dict is not handled like an empty dict
...
Problem: Null dict is not handled like an empty dict.
Solution: Fix the code and add tests. (Yegappan Lakshmanan, closes #5968 )
2020-04-23 13:38:02 +02:00
Bram Moolenaar
7a1637f4c0
patch 8.2.0577: not all modifiers supported for :options
...
Problem: Not all modifiers supported for :options.
Solution: Use all cmdmod.split flags. (closes #4401 )
2020-04-13 21:16:21 +02:00
Bram Moolenaar
8b63313510
patch 8.2.0418: code in eval.c not sufficiently covered by tests
...
Problem: Code in eval.c not sufficiently covered by tests.
Solution: Add more tests. (Yegappan Lakshmanan, closes #5815 )
2020-03-20 18:20:51 +01:00
Bram Moolenaar
24ebd83e03
patch 8.2.0396: cmdexpand.c insufficiently tested
...
Problem: Cmdexpand.c insufficiently tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes #5789 )
2020-03-16 21:25:24 +01:00
Bram Moolenaar
b731689e85
patch 8.1.1241: Ex command info contains confusing information
...
Problem: Ex command info contains confusing information.
Solution: When using the NOTADR flag use ADDR_OTHER for the address type.
Cleanup code using NOTADR. Check for errors in
create_cmdidxs.vim. Adjust Makefile to see the errors.
2019-05-01 18:08:42 +02:00
Bram Moolenaar
e61e548dd6
patch 8.1.1211: not all user command code is tested
...
Problem: Not all user command code is tested.
Solution: Add more tests.
2019-04-27 15:05:12 +02:00
Bram Moolenaar
d1f90bbcab
patch 8.1.1206: user command parsing and listing not properly tested
...
Problem: User command parsing and listing not properly tested.
Solution: Add more tests. (Dominique Pelle, closes #4296 )
2019-04-25 22:42:07 +02:00
Bram Moolenaar
55d4691308
patch 8.1.0573: cannot redefine user command without ! in same script
...
Problem: Cannot redefine user command without ! in same script
Solution: Allow redefining user command without ! in same script, like with
functions.
2018-12-08 16:03:28 +01:00
Bram Moolenaar
51a7454cd2
patch 8.1.0560: cannot use address type "other" with with user command
...
Problem: Cannot use address type "other" with with user command.
Solution: Add "other" to the list. (Daniel Hahler, closes #3655 ) Also
reject "%" for commands with "other". Add some more tests.
2018-12-02 18:21:49 +01:00
Bram Moolenaar
2095148277
patch 8.0.1425: execute() does not work in completion of user command
...
Problem: execute() does not work in completion of user command. (thinca)
Solution: Switch off redir_off and restore it. (Ozaki Kiichi, closes #2492 )
2017-12-25 13:44:43 +01:00
Bram Moolenaar
67418d97b4
patch 8.0.1200: tests switch the bell off twice
...
Problem: Tests switch the bell off twice.
Solution: Don't set 'belloff' in individual tests. (Christian Brabandt)
2017-10-15 22:07:39 +02:00
Bram Moolenaar
c3c766ea8c
patch 8.0.0433: beeps when running tests
...
Problem: Quite a few beeps when running tests.
Solution: Set 'belloff' for these tests. (Christian Brabandt)
2017-03-08 22:55:19 +01:00
Bram Moolenaar
65c836e600
patch 8.0.0242: no tests for user command completion
...
Problem: Completion of user defined functions is not covered by tests.
Solution: Add tests. Also test various errors of user-defined commands.
(Dominique Pelle, closes #1413 )
2017-01-26 22:07:33 +01:00
Bram Moolenaar
3bcfca3ab4
patch 7.4.2127
...
Problem: The short form of ":noswapfile" is ":noswap" instead of ":now".
(Kent Sibilev)
Solution: Only require three characters. Add a test for the short forms.
2016-07-30 19:39:29 +02:00
Bram Moolenaar
eac784eced
patch 7.4.2110
...
Problem: When there is an CmdUndefined autocmd then the error for a missing
command is E464 instead of E492. (Manuel Ortega)
Solution: Don't let the pointer be NULL.
2016-07-28 22:08:24 +02:00
Bram Moolenaar
63a60ded3f
patch 7.4.1898
...
Problem: User commands don't support modifiers.
Solution: Add the <mods> item. (Yegappan Lakshmanan, closes #829 )
2016-06-04 22:08:55 +02:00