aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/vim.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-09-16 23:09:26 +0800
committerGitHub <noreply@github.com>2022-09-16 23:09:26 +0800
commit6b2f0f43b5f9d375d2be1b4eb4784716dd89ec8f (patch)
tree1e53e27a8ca184decab0a7929b80870c7e406832 /src/nvim/api/vim.c
parenta0642ec75e5986af03829ad4f448e300fa40ebb4 (diff)
downloadrneovim-6b2f0f43b5f9d375d2be1b4eb4784716dd89ec8f.tar.gz
rneovim-6b2f0f43b5f9d375d2be1b4eb4784716dd89ec8f.tar.bz2
rneovim-6b2f0f43b5f9d375d2be1b4eb4784716dd89ec8f.zip
fix(eval)!: make Lua Funcref work as method and in substitute() (#20217)
BREAKING CHANGE: When using a Funcref converted from a Lua function as a method in Vim script, the result of the base expression is now passed as the first argument instead of being ignored. vim-patch:8.2.5117: crash when calling a Lua callback from a :def function Problem: Crash when calling a Lua callback from a :def function. (Bohdan Makohin) Solution: Handle FC_CFUNC in call_user_func_check(). (closes vim/vim#10587) https://github.com/vim/vim/commit/7d149f899d423b7bf2b90d7b11ebe3e560c462b9
Diffstat (limited to 'src/nvim/api/vim.c')
0 files changed, 0 insertions, 0 deletions