comparison runtime/doc/options.txt @ 6328:adfbffe1e642 v7.4.497

updated for version 7.4.497 Problem: With some regexp patterns the NFA engine uses many states and becomes very slow. To the user it looks like Vim freezes. Solution: When the number of states reaches a limit fall back to the old engine. (Christian Brabandt)
author Bram Moolenaar <bram@vim.org>
date Wed, 05 Nov 2014 14:27:36 +0100
parents bd18da914be9
children 4abac79c0b7a
comparison
equal deleted inserted replaced
6327:896d12bf73c1 6328:adfbffe1e642
5624 1 old engine 5624 1 old engine
5625 2 NFA engine 5625 2 NFA engine
5626 Note that when using the NFA engine and the pattern contains something 5626 Note that when using the NFA engine and the pattern contains something
5627 that is not supported the pattern will not match. This is only useful 5627 that is not supported the pattern will not match. This is only useful
5628 for debugging the regexp engine. 5628 for debugging the regexp engine.
5629 Using automatic selection enables Vim to switch the engine, if the
5630 default engine becomes too costly. E.g., when the NFA engine uses too
5631 many states. This should prevent Vim from hanging on a combination of
5632 a complex pattern with long text.
5629 5633
5630 *'relativenumber'* *'rnu'* *'norelativenumber'* *'nornu'* 5634 *'relativenumber'* *'rnu'* *'norelativenumber'* *'nornu'*
5631 'relativenumber' 'rnu' boolean (default off) 5635 'relativenumber' 'rnu' boolean (default off)
5632 local to window 5636 local to window
5633 {not in Vi} 5637 {not in Vi}