mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 21:48:35 +00:00
fix(completion): don't include <Lua function> in -complete= (#30209)
This commit is contained in:
@@ -415,7 +415,7 @@ char *get_user_cmd_complete(expand_T *xp, int idx)
|
||||
return NULL;
|
||||
}
|
||||
char *cmd_compl = get_command_complete(idx);
|
||||
if (cmd_compl == NULL) {
|
||||
if (cmd_compl == NULL || idx == EXPAND_USER_LUA) {
|
||||
return "";
|
||||
}
|
||||
return cmd_compl;
|
||||
|
Reference in New Issue
Block a user