mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.2.2216: Vim9: range with missing colon can be hard to spot
Problem: Vim9: range with missing colon can be hard to spot. Solution: Include the start of the range in the error. (closes #7543)
This commit is contained in:
@@ -1839,7 +1839,7 @@ do_one_cmd(
|
||||
// message.
|
||||
if (ar > ea.cmd)
|
||||
{
|
||||
emsg(_(e_colon_required_before_a_range));
|
||||
semsg(_(e_colon_required_before_range_str), ea.cmd);
|
||||
goto doend;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user