aboutsummaryrefslogtreecommitdiff
path: root/test/functional/vimscript/executable_spec.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2026-09-30 10:18:47 +0800
committerzeertzjq <zeertzjq@outlook.com>2026-09-30 10:18:50 +0800
commit6cf56cd84a3f87e0051de0d93726042c22ee6b61 (patch)
treee1848abf989c7bea0494e5535cbdc8ce29605203 /test/functional/vimscript/executable_spec.lua
parentac9ddec6b855a54193899f95da2d94d8224b31af (diff)
downloadrneovim-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 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions