diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-09-10 13:52:26 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-09-10 13:52:26 +0100 |
commit | 55e9366e32bc0e1056478d1d0ae935f9cf039d6a (patch) | |
tree | f29bfdfceb04f972b6834f8a7a3d1c59668ee903 /src/errors.h | |
parent | 71b6d3397649fed68ef587aa863fcbdf5fdb057a (diff) |
patch 9.0.0437: no error when custom completion function returns wrong typev9.0.0437
Problem: No error when a custom completion function returns something else
than the expected list.
Solution: Give an error. (closes #11100)
Diffstat (limited to 'src/errors.h')
-rw-r--r-- | src/errors.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/errors.h b/src/errors.h index 43baa6a1ad..d1cf4b457f 100644 --- a/src/errors.h +++ b/src/errors.h @@ -3333,4 +3333,6 @@ EXTERN char e_string_number_list_or_blob_required_for_argument_nr[] INIT(= N_("E1301: String, Number, List or Blob required for argument %d")); EXTERN char e_script_variable_was_deleted[] INIT(= N_("E1302: Script variable was deleted")); +EXTERN char e_custom_list_completion_function_does_not_return_list_but_str[] + INIT(= N_("E1303: Custom list completion function does not return a List but a %s")); #endif |