mirror of
https://github.com/neovim/neovim.git
synced 2025-10-17 23:31:51 +00:00
vim-patch:9.0.1734: :runtime completion fails for multiple args (#24767)
Problem: :runtime completion fails for multiple args
Solution: Make it work
closes: vim/vim#12616
be5cdd1d63
This commit is contained in:
@@ -1376,7 +1376,7 @@ char *skiptowhite(const char *p)
|
||||
/// @param p
|
||||
///
|
||||
/// @return Pointer to the next whitespace character.
|
||||
char *skiptowhite_esc(char *p)
|
||||
char *skiptowhite_esc(const char *p)
|
||||
FUNC_ATTR_PURE
|
||||
{
|
||||
while (*p != ' ' && *p != '\t' && *p != NUL) {
|
||||
@@ -1385,7 +1385,7 @@ char *skiptowhite_esc(char *p)
|
||||
}
|
||||
p++;
|
||||
}
|
||||
return p;
|
||||
return (char *)p;
|
||||
}
|
||||
|
||||
/// Skip over text until '\n' or NUL.
|
||||
|
Reference in New Issue
Block a user