commit | 6e2c2c50bada4e3f5c7234902c0bdd64f66619ac | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Fri Dec 25 19:25:45 2020 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Fri Dec 25 19:25:45 2020 +0100 |
tree | fe876fd433cd8c47572574d05fdeb28eb375a653 | |
parent | 56ce9ea3ea46529cac2fdf3151abfa0e1ae49bad [diff] [blame] |
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)
diff --git a/src/ex_docmd.c b/src/ex_docmd.c index 3bb3d49..69e3f12 100644 --- a/src/ex_docmd.c +++ b/src/ex_docmd.c
@@ -1839,7 +1839,7 @@ // message. if (ar > ea.cmd) { - emsg(_(e_colon_required_before_a_range)); + semsg(_(e_colon_required_before_range_str), ea.cmd); goto doend; } }