mirror of
https://github.com/neovim/neovim.git
synced 2025-09-15 07:48:18 +00:00
No OOM in ExpandOldSetting()
This commit is contained in:
@@ -3651,8 +3651,10 @@ ExpandFromContext (
|
||||
expand_shellcmd(pat, num_file, file, flags);
|
||||
return OK;
|
||||
}
|
||||
if (xp->xp_context == EXPAND_OLD_SETTING)
|
||||
return ExpandOldSetting(num_file, file);
|
||||
if (xp->xp_context == EXPAND_OLD_SETTING) {
|
||||
ExpandOldSetting(num_file, file);
|
||||
return OK;
|
||||
}
|
||||
if (xp->xp_context == EXPAND_BUFFERS)
|
||||
return ExpandBufnames(pat, num_file, file, options);
|
||||
if (xp->xp_context == EXPAND_TAGS
|
||||
|
Reference in New Issue
Block a user