mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 14:08:32 +00:00
fix(usercmd): also check for whitespace after escaped character (#19942)
This commit is contained in:
@@ -1061,11 +1061,11 @@ bool uc_split_args_iter(const char *arg, size_t arglen, size_t *end, char *buf,
|
||||
buf[l++] = arg[++pos];
|
||||
} else {
|
||||
buf[l++] = arg[pos];
|
||||
if (ascii_iswhite(arg[pos + 1])) {
|
||||
*end = pos + 1;
|
||||
*len = l;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (ascii_iswhite(arg[pos + 1])) {
|
||||
*end = pos + 1;
|
||||
*len = l;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user