diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-10-28 15:14:15 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2024-10-29 08:20:00 +0800 |
commit | 378d9135e7ac0f91a4944be816dc9f693d5078af (patch) | |
tree | 73d8ee9d95a9e1ae134e1eca0f8e741716290044 /src/nvim/eval.c | |
parent | 42fa3d080ec170b7927e36ec563efdd526c712d7 (diff) | |
download | rneovim-378d9135e7ac0f91a4944be816dc9f693d5078af.tar.gz rneovim-378d9135e7ac0f91a4944be816dc9f693d5078af.tar.bz2 rneovim-378d9135e7ac0f91a4944be816dc9f693d5078af.zip |
vim-patch:9.1.0810: cannot easily adjust the |:find| command
Problem: cannot easily adjust the |:find| command
Solution: Add support for the 'findexpr' option (Yegappan Lakshmanan)
closes: vim/vim#15901
closes: vim/vim#15905
https://github.com/vim/vim/commit/aeb1c97db5b9de4f4903e7f288f2aa5ad6c49440
Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Diffstat (limited to 'src/nvim/eval.c')
-rw-r--r-- | src/nvim/eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/eval.c b/src/nvim/eval.c index 93cff80bd4..6a455f70a6 100644 --- a/src/nvim/eval.c +++ b/src/nvim/eval.c @@ -2631,7 +2631,7 @@ static int may_call_simple_func(const char *arg, typval_T *rettv) /// Handle zero level expression with optimization for a simple function call. /// Same arguments and return value as eval0(). -static int eval0_simple_funccal(char *arg, typval_T *rettv, exarg_T *eap, evalarg_T *const evalarg) +int eval0_simple_funccal(char *arg, typval_T *rettv, exarg_T *eap, evalarg_T *const evalarg) { int r = may_call_simple_func(arg, rettv); |