mirror of
https://github.com/neovim/neovim.git
synced 2025-09-16 00:08:19 +00:00
vim-patch:7.4.1492
Problem: No command line completion for ":packadd".
Solution: Implement completion. (Hirohito Higashi)
35ca0e7a1c
This commit is contained in:
@@ -3316,6 +3316,11 @@ set_one_cmd_context (
|
||||
xp->xp_pattern = arg;
|
||||
break;
|
||||
|
||||
case CMD_packadd:
|
||||
xp->xp_context = EXPAND_PACKADD;
|
||||
xp->xp_pattern = arg;
|
||||
break;
|
||||
|
||||
#ifdef HAVE_WORKING_LIBINTL
|
||||
case CMD_language:
|
||||
p = skiptowhite(arg);
|
||||
@@ -4688,6 +4693,7 @@ static struct {
|
||||
{EXPAND_OWNSYNTAX, "syntax"},
|
||||
{EXPAND_SYNTIME, "syntime"},
|
||||
{EXPAND_SETTINGS, "option"},
|
||||
{EXPAND_PACKADD, "packadd"},
|
||||
{EXPAND_SHELLCMD, "shellcmd"},
|
||||
{EXPAND_SIGN, "sign"},
|
||||
{EXPAND_TAGS, "tag"},
|
||||
|
Reference in New Issue
Block a user