aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/cmdexpand.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-02-16 12:40:46 +0800
committerGitHub <noreply@github.com>2023-02-16 12:40:46 +0800
commit631775c05d257e5e61af31d20d9fd5be2dba82c2 (patch)
tree1a5a45358dc499a7b620c0b6b0887aafd98c8f3f /src/nvim/cmdexpand.c
parent5dc4eaf386d70b9bbef321a00bcbb5d475f36542 (diff)
parent0cbbe27e93e87a5336673e0529b011313c51a123 (diff)
downloadrneovim-631775c05d257e5e61af31d20d9fd5be2dba82c2.tar.gz
rneovim-631775c05d257e5e61af31d20d9fd5be2dba82c2.tar.bz2
rneovim-631775c05d257e5e61af31d20d9fd5be2dba82c2.zip
Merge pull request #22277 from zeertzjq/vim-8.2.0114
vim-patch:8.2.{0114,0154}: info about sourced scripts is scattered
Diffstat (limited to 'src/nvim/cmdexpand.c')
-rw-r--r--src/nvim/cmdexpand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/cmdexpand.c b/src/nvim/cmdexpand.c
index 97feab2978..fcd6a73b2d 100644
--- a/src/nvim/cmdexpand.c
+++ b/src/nvim/cmdexpand.c
@@ -2524,7 +2524,7 @@ static char *get_scriptnames_arg(expand_T *xp FUNC_ATTR_UNUSED, int idx)
return NULL;
}
- scriptitem_T *si = &SCRIPT_ITEM(idx + 1);
+ scriptitem_T *si = SCRIPT_ITEM(idx + 1);
home_replace(NULL, si->sn_name, NameBuff, MAXPATHL, true);
return NameBuff;
}