diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-09-17 18:57:36 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-09-17 18:57:36 +0100 |
commit | fb593c5350e8fe23b608ded5a011cd7eefe73922 (patch) | |
tree | bace58f143d5885df770e894b46fe9a95c8137d7 /src/errors.h | |
parent | 4c7fd4d68f69b4e420a5448f144f4d57eda22f8c (diff) |
patch 9.0.0489: using "end_lnum" with virtual text causes problemsv9.0.0489
Problem: Using "end_lnum" with virtual text causes problems.
Solution: Disallow using "end_lnum" with virtual text. (closes #11151)
Also disallow "end_col" and "length".
Diffstat (limited to 'src/errors.h')
-rw-r--r-- | src/errors.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/errors.h b/src/errors.h index 5f0fdcb8a8..944dc43c5d 100644 --- a/src/errors.h +++ b/src/errors.h @@ -3338,3 +3338,7 @@ EXTERN char e_custom_list_completion_function_does_not_return_list_but_str[] EXTERN char e_cannot_use_type_with_this_variable_str[] INIT(= N_("E1304: Cannot use type with this variable: %s")); #endif +#ifdef FEAT_PROP_POPUP +EXTERN char e_cannot_use_length_endcol_and_endlnum_with_text[] + INIT(= N_("E1305: Cannot use \"length\", \"end_col\" and \"end_lnum\" with \"text\"")); +#endif |