mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.2.3347: check for legacy script is incomplete
Problem: Check for legacy script is incomplete. (Naohiro Ono) Solution: Also check the :legacy modifier. Use for string concatenation with "." and others (issue #8756)
This commit is contained in:
@@ -2951,7 +2951,7 @@ parse_command_modifiers(
|
||||
if (ends_excmd2(p, eap->cmd))
|
||||
{
|
||||
*errormsg =
|
||||
_(e_vim9cmd_must_be_followed_by_command);
|
||||
_(e_legacy_must_be_followed_by_command);
|
||||
return FAIL;
|
||||
}
|
||||
cmod->cmod_flags |= CMOD_LEGACY;
|
||||
|
Reference in New Issue
Block a user