forked from aniani/vim
patch 9.1.1148: Vim9: finding imported scripts can be further improved
Problem: Vim9: finding imported scripts can be further improved (after v9.1.1146) Solution: Eliminate extra find_imported() call (Hirohito Higashi) related: #16602 related: #16660 closes: #16731 Signed-off-by: Hirohito Higashi <h.east.727@gmail.com> Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
00a00f5d3f
commit
6c0128385e
@@ -1374,7 +1374,7 @@ generate_loadvar(cctx_T *cctx, lhs_T *lhs)
|
||||
case dest_script:
|
||||
case dest_script_v9:
|
||||
res = compile_load_scriptvar(cctx,
|
||||
name + (name[1] == ':' ? 2 : 0), NULL, NULL);
|
||||
name + (name[1] == ':' ? 2 : 0), NULL, NULL, NULL);
|
||||
break;
|
||||
case dest_env:
|
||||
// Include $ in the name here
|
||||
|
Reference in New Issue
Block a user