mirror of
https://github.com/neovim/neovim.git
synced 2025-09-21 10:48:18 +00:00
vim-patch:8.2.0593: finding a user command is not optimal (#19386)
Problem: Finding a user command is not optimal.
Solution: Start further down in the list of commands.
a494f56f88
This commit is contained in:
@@ -3028,6 +3028,8 @@ char *find_ex_command(exarg_T *eap, int *full)
|
||||
if (ASCII_ISLOWER(c2)) {
|
||||
eap->cmdidx += cmdidxs2[CHAR_ORD_LOW(c1)][CHAR_ORD_LOW(c2)];
|
||||
}
|
||||
} else if (ASCII_ISUPPER(eap->cmd[0])) {
|
||||
eap->cmdidx = CMD_Next;
|
||||
} else {
|
||||
eap->cmdidx = CMD_bang;
|
||||
}
|
||||
|
Reference in New Issue
Block a user