diff options
author | mityu <mityu.mail@gmail.com> | 2021-07-19 20:07:21 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-07-19 20:07:21 +0200 |
commit | 6106504e9edc8500131f7a36e59bc146f90180fa (patch) | |
tree | 69249dd7c9375375cb414ea31e3b5523e8947344 /src/errors.h | |
parent | 98c2eaed27579602e05e7b96aa3a60428a8b9cb2 (diff) |
patch 8.2.3184: cannot add a digraph with a leading spacev8.2.3184
Problem: Cannot add a digraph with a leading space. It is not easy to list
existing digraphs.
Solution: Add setdigraph(), setdigraphlist(), getdigraph() and
getdigraphlist(). (closes #8580)
Diffstat (limited to 'src/errors.h')
-rw-r--r-- | src/errors.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/errors.h b/src/errors.h index 97e7a12599..98a10987fa 100644 --- a/src/errors.h +++ b/src/errors.h @@ -54,6 +54,10 @@ EXTERN char e_undefined_variable_str[] EXTERN char e_undefined_variable_char_str[] INIT(= N_("E121: Undefined variable: %c:%s")); #endif +#ifndef FEAT_DIGRAPHS +EXTERN char e_no_digraphs_version[] + INIT(= N_("E196: No digraphs in this version")); +#endif EXTERN char e_ambiguous_use_of_user_defined_command[] INIT(= N_("E464: Ambiguous use of user-defined command")); EXTERN char e_invalid_command[] @@ -508,3 +512,11 @@ EXTERN char e_bool_required_for_argument_nr[] INIT(= N_("E1212: Bool required for argument %d")); EXTERN char e_redefining_imported_item_str[] INIT(= N_("E1213: Redefining imported item %s")); +#if defined(FEAT_DIGRAPHS) && defined(FEAT_EVAL) +EXTERN char e_digraph_must_be_just_two_characters_str[] + INIT(= N_("E1214: Digraph must be just two characters: %s")); +EXTERN char e_digraph_argument_must_be_one_character_str[] + INIT(= N_("E1215: Digraph must be one character: %s")); +EXTERN char e_setdigraphlist_argument_must_be_list_of_lists_with_two_items[] + INIT(= N_("E1216: setdigraphlist() argument must be a list of lists with two items")); +#endif |