mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.2.2214: ":e#" does not give a warning for missing white space
Problem: ":e#" does not give a warning for missing white space. Solution: Adjust the check for white space. (closes #7545)
This commit is contained in:
@@ -3532,7 +3532,7 @@ find_ex_command(
|
||||
|
||||
#ifdef FEAT_EVAL
|
||||
if (eap->cmdidx != CMD_SIZE && in_vim9script()
|
||||
&& !IS_WHITE_OR_NUL(*p) && !ends_excmd(*p) && *p != '!'
|
||||
&& !IS_WHITE_OR_NUL(*p) && *p != '\n' && *p != '!'
|
||||
&& (cmdnames[eap->cmdidx].cmd_argt & EX_NONWHITE_OK) == 0)
|
||||
{
|
||||
semsg(_(e_command_not_followed_by_white_space_str), eap->cmd);
|
||||
|
Reference in New Issue
Block a user