diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2026-09-30 10:18:47 +0800 |
|---|---|---|
| committer | zeertzjq <zeertzjq@outlook.com> | 2026-09-30 10:18:50 +0800 |
| commit | 6cf56cd84a3f87e0051de0d93726042c22ee6b61 (patch) | |
| tree | e1848abf989c7bea0494e5535cbdc8ce29605203 /runtime/lua/vim/provider/python.lua | |
| parent | ac9ddec6b855a54193899f95da2d94d8224b31af (diff) | |
| download | rneovim-6cf56cd84a3f87e0051de0d93726042c22ee6b61.tar.gz rneovim-6cf56cd84a3f87e0051de0d93726042c22ee6b61.tar.bz2 rneovim-6cf56cd84a3f87e0051de0d93726042c22ee6b61.zip | |
vim-patch:bb1d7bc: runtime(typescript): fix exponential backtracking in typescriptArrowFuncDef
Problem: The paren-based typescriptArrowFuncDef patterns contain a nested
quantifier, \%(\_[^()]\+\|...\)*, which backtracks exponentially
with the old regexp engine when the match fails.
Solution: Drop the inner \+; the matched language is unchanged.
closes: vim/vim#21400
related: HerringtonDarkholme/yats.vim#306
https://github.com/vim/vim/commit/bb1d7bc6379b75ccf9ac203636a6dc6ae0d77dd5
Co-authored-by: Miura Yasuyuki <kokosabu@gmail.com>
Diffstat (limited to 'runtime/lua/vim/provider/python.lua')
0 files changed, 0 insertions, 0 deletions