diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-12-25 19:25:45 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-12-25 19:25:45 +0100 |
commit | 6e2c2c50bada4e3f5c7234902c0bdd64f66619ac (patch) | |
tree | fe876fd433cd8c47572574d05fdeb28eb375a653 /src/errors.h | |
parent | 56ce9ea3ea46529cac2fdf3151abfa0e1ae49bad (diff) | |
download | vim-git-6e2c2c50bada4e3f5c7234902c0bdd64f66619ac.tar.gz |
patch 8.2.2216: Vim9: range with missing colon can be hard to spotv8.2.2216
Problem: Vim9: range with missing colon can be hard to spot.
Solution: Include the start of the range in the error. (closes #7543)
Diffstat (limited to 'src/errors.h')
-rw-r--r-- | src/errors.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/errors.h b/src/errors.h index 4f404b533..b0b4194ca 100644 --- a/src/errors.h +++ b/src/errors.h @@ -133,8 +133,8 @@ EXTERN char e_item_not_found_in_script_str[] INIT(= N_("E1048: Item not found in script: %s")); EXTERN char e_item_not_exported_in_script_str[] INIT(= N_("E1049: Item not exported in script: %s")); -EXTERN char e_colon_required_before_a_range[] - INIT(= N_("E1050: Colon required before a range")); +EXTERN char e_colon_required_before_range_str[] + INIT(= N_("E1050: Colon required before a range: %s")); EXTERN char e_wrong_argument_type_for_plus[] INIT(= N_("E1051: Wrong argument type for +")); EXTERN char e_cannot_declare_an_option[] |