mirror of
https://github.com/neovim/neovim.git
synced 2025-09-19 01:38:16 +00:00
feat: add completion to ':lua'
This commit is contained in:
@@ -3680,6 +3680,11 @@ const char * set_one_cmd_context(
|
||||
xp->xp_pattern = (char_u *)arg;
|
||||
break;
|
||||
|
||||
case CMD_lua:
|
||||
xp->xp_context = EXPAND_LUA;
|
||||
xp->xp_pattern = (char_u *)arg;
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
@@ -5187,6 +5192,7 @@ static const char *command_complete[] =
|
||||
#ifdef HAVE_WORKING_LIBINTL
|
||||
[EXPAND_LOCALES] = "locale",
|
||||
#endif
|
||||
[EXPAND_LUA] = "lua",
|
||||
[EXPAND_MAPCLEAR] = "mapclear",
|
||||
[EXPAND_MAPPINGS] = "mapping",
|
||||
[EXPAND_MENUS] = "menu",
|
||||
|
Reference in New Issue
Block a user