diff options
author | Michael Ennen <mike.ennen@gmail.com> | 2016-12-19 20:09:07 -0700 |
---|---|---|
committer | Michael Ennen <mike.ennen@gmail.com> | 2017-02-14 17:38:19 -0700 |
commit | ef8701610baa18ecf2568990eab4ecf02ca8f6c1 (patch) | |
tree | 778d37810fc23bac397f2a426de746119dad4450 /src/nvim/eval/typval_encode.c.h | |
parent | bae8a19c63381c3f6c860bae75af3580d68bf3b3 (diff) | |
download | rneovim-ef8701610baa18ecf2568990eab4ecf02ca8f6c1.tar.gz rneovim-ef8701610baa18ecf2568990eab4ecf02ca8f6c1.tar.bz2 rneovim-ef8701610baa18ecf2568990eab4ecf02ca8f6c1.zip |
Allow lambdas to be used with jobs, timers and dictwatchers.
Diffstat (limited to 'src/nvim/eval/typval_encode.c.h')
-rw-r--r-- | src/nvim/eval/typval_encode.c.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/eval/typval_encode.c.h b/src/nvim/eval/typval_encode.c.h index 34f88cbc98..4ff5589887 100644 --- a/src/nvim/eval/typval_encode.c.h +++ b/src/nvim/eval/typval_encode.c.h @@ -344,7 +344,7 @@ static int _TYPVAL_ENCODE_CONVERT_ONE_VALUE( case VAR_PARTIAL: { partial_T *const pt = tv->vval.v_partial; (void)pt; - TYPVAL_ENCODE_CONV_FUNC_START(tv, (pt == NULL ? NULL : pt->pt_name)); + TYPVAL_ENCODE_CONV_FUNC_START(tv, (pt == NULL ? NULL : partial_name(pt))); _mp_push(*mpstack, ((MPConvStackVal) { .type = kMPConvPartial, .tv = tv, |