diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-08-01 10:13:45 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2024-08-02 11:56:51 +0800 |
commit | f7fde0173af95925e7324b7d3c09776173dab8a7 (patch) | |
tree | c7a54472837afe4baf13e66855265cc8a003805a /src/nvim/regexp.c | |
parent | 48e4589eaded3213956aa9ddbcc0aa6971a974e5 (diff) | |
download | rneovim-f7fde0173af95925e7324b7d3c09776173dab8a7.tar.gz rneovim-f7fde0173af95925e7324b7d3c09776173dab8a7.tar.bz2 rneovim-f7fde0173af95925e7324b7d3c09776173dab8a7.zip |
vim-patch:9.0.0632: calling a function from an "expr" option has overhead
Problem: Calling a function from an "expr" option has too much overhead.
Solution: Add call_simple_func() and use it for 'foldexpr'
https://github.com/vim/vim/commit/87b4e5c5db9d1cfd6f2e79656e1a6cff3c69d15f
Cherry-pick a call_func() change from patch 8.2.1343.
Add expr-option-function docs to options.txt.
Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat (limited to 'src/nvim/regexp.c')
0 files changed, 0 insertions, 0 deletions