diff options
| author | Bram Moolenaar <Bram@vim.org> | 2022-10-01 19:43:52 +0100 |
|---|---|---|
| committer | Bram Moolenaar <Bram@vim.org> | 2022-10-01 19:43:52 +0100 |
| commit | a4e0b9785e409e9e660171cea76dfcc5fdafad9b (patch) | |
| tree | 3323913d9bdc9cd09029b1314a77c4a5e8191bbf /src/map.c | |
| parent | b850c39676db21c6f1aa3afed0e2e48d407dd60e (diff) | |
| download | vim-git-9.0.0634.tar.gz | |
patch 9.0.0634: evaluating "expr" options has more overhead than neededv9.0.0634
Problem: Evaluating "expr" options has more overhead than needed.
Solution: Use call_simple_func() for 'foldtext', 'includeexpr', 'printexpr',
"expr" of 'spellsuggest', 'diffexpr', 'patchexpr', 'balloonexpr',
'formatexpr', 'indentexpr' and 'charconvert'.
Diffstat (limited to 'src/map.c')
| -rw-r--r-- | src/map.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1711,7 +1711,7 @@ eval_map_expr( } // Note: the evaluation may make "mp" invalid. - p = eval_to_string(expr, FALSE); + p = eval_to_string(expr, FALSE, FALSE); --textlock; --ex_normal_lock; |
