Created
March 17, 2016 10:50
-
-
Save mattn/c24b703e8ff23691f967 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/eval.c b/src/eval.c | |
index 6280323..b9eb792 100644 | |
--- a/src/eval.c | |
+++ b/src/eval.c | |
@@ -23894,6 +23894,12 @@ trans_function_name( | |
*pp = end; | |
} | |
else | |
+ if (lv.ll_tv->v_type == VAR_PARTIAL && lv.ll_tv->vval.v_string != NULL) | |
+ { | |
+ name = vim_strsave(lv.ll_tv->vval.v_partial->pt_name); | |
+ *pp = end; | |
+ } | |
+ else | |
{ | |
if (!skip && !(flags & TFN_QUIET) && (fdp == NULL | |
|| lv.ll_dict == NULL || fdp->fd_newkey == NULL)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment