aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/cmdexpand.c
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2024-07-04 23:20:45 +0200
committerGitHub <noreply@github.com>2024-07-05 05:20:45 +0800
commit25c59d08c4df9952c606bbc96b7b26dca429bb9c (patch)
tree522eb59d6ddf057a371dc3728f0a9e17f9d5e87e /src/nvim/cmdexpand.c
parent71c50edceb5e097fe4faf9278a5fb4d41a303455 (diff)
downloadrneovim-25c59d08c4df9952c606bbc96b7b26dca429bb9c.tar.gz
rneovim-25c59d08c4df9952c606bbc96b7b26dca429bb9c.tar.bz2
rneovim-25c59d08c4df9952c606bbc96b7b26dca429bb9c.zip
docs: misc (#29410)
Co-authored-by: Michael Härtl <haertl.mike@gmail.com> Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Diffstat (limited to 'src/nvim/cmdexpand.c')
-rw-r--r--src/nvim/cmdexpand.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/nvim/cmdexpand.c b/src/nvim/cmdexpand.c
index d235617ae1..db27e464a8 100644
--- a/src/nvim/cmdexpand.c
+++ b/src/nvim/cmdexpand.c
@@ -289,7 +289,6 @@ int nextwild(expand_T *xp, int type, int options, bool escape)
p2 = ExpandOne(xp, p1, xstrnsave(&ccline->cmdbuff[i], xp->xp_pattern_len),
use_options, type);
xfree(p1);
-
// Longest match: make sure it is not shorter, happens with :help.
if (p2 != NULL && type == WILD_LONGEST) {
int j;