mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.2497: no error when using more than one character for a register
Problem: No error when using more than one character for a register name. Solution: In Vim9 script check for a single character string. (closes #7814) Fix that VAR_BOOL and VAR_SPECIAL are not considered equal.
This commit is contained in:
@@ -359,3 +359,5 @@ EXTERN char e_cannot_use_default_for_variable_arguments[]
|
||||
INIT(= N_("E1160: Cannot use a default for variable arguments"));
|
||||
EXTERN char e_cannot_json_encode_str[]
|
||||
INIT(= N_("E1161: Cannot json encode a %s"));
|
||||
EXTERN char e_register_name_must_be_one_char_str[]
|
||||
INIT(= N_("E1162: Register name must be one character: %s"));
|
||||
|
Reference in New Issue
Block a user