Disable vim's new NFA regexp engine for now, it interacts badly with
malloc flag 'J' (approx 10x slower in syntax highlighting).
This commit is contained in:
parent
18829bbe72
commit
0875071322
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.130 2013/10/04 08:44:03 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.131 2013/10/04 08:45:21 sthen Exp $
|
||||
|
||||
COMMENT-main= vi clone, many additional features
|
||||
COMMENT-lang= vi clone, NLS subpackage
|
||||
@ -6,6 +6,7 @@ COMMENT-lang= vi clone, NLS subpackage
|
||||
VERSION= 7.4.45
|
||||
DISTNAME= vim-${VERSION}
|
||||
PKGNAME-main= vim-${VERSION}
|
||||
REVISION-main= 0
|
||||
PKGNAME-lang= vim-lang-${VERSION}
|
||||
P= vim${VERSION:R:S/.//}
|
||||
CATEGORIES= editors
|
||||
|
16
editors/vim/patches/patch-src_option_c
Normal file
16
editors/vim/patches/patch-src_option_c
Normal file
@ -0,0 +1,16 @@
|
||||
$OpenBSD: patch-src_option_c,v 1.1 2013/10/04 08:45:21 sthen Exp $
|
||||
|
||||
Disable new NFA regexp engine for now, syntax highlighting is unusably
|
||||
slow if malloc flag 'J' is used.
|
||||
|
||||
--- src/option.c.orig Tue Oct 1 08:50:58 2013
|
||||
+++ src/option.c Tue Oct 1 09:15:05 2013
|
||||
@@ -2097,7 +2097,7 @@ static struct vimoption
|
||||
{(char_u *)2000L, (char_u *)0L} SCRIPTID_INIT},
|
||||
{"regexpengine", "re", P_NUM|P_VI_DEF,
|
||||
(char_u *)&p_re, PV_NONE,
|
||||
- {(char_u *)0L, (char_u *)0L} SCRIPTID_INIT},
|
||||
+ {(char_u *)1L, (char_u *)1L} SCRIPTID_INIT},
|
||||
{"relativenumber", "rnu", P_BOOL|P_VI_DEF|P_RWIN,
|
||||
(char_u *)VAR_WIN, PV_RNU,
|
||||
{(char_u *)FALSE, (char_u *)0L} SCRIPTID_INIT},
|
Loading…
x
Reference in New Issue
Block a user