0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.2.3004: Vim9: error for missing colon given while skipping

Problem:    Vim9: error for missing colon given while skipping.
Solution:   Do not give the error when skipping. (closes #8385)
This commit is contained in:
Bram Moolenaar
2021-06-15 20:06:34 +02:00
parent 968a5b62ff
commit 8ac681a280
3 changed files with 16 additions and 1 deletions

View File

@@ -1844,7 +1844,7 @@ do_one_cmd(
// If a ':' before the range is missing, give a clearer error
// message.
if (ar > ea.cmd)
if (ar > ea.cmd && !ea.skip)
{
semsg(_(e_colon_required_before_range_str), ea.cmd);
goto doend;