1
0
forked from aniani/vim

patch 9.0.0513: may not be able to use a pattern ad the debug prompt

Problem:    May not be able to use a pattern ad the debug prompt.
Solution:   Temporarily disable the timeout. (closes #11164)
This commit is contained in:
Bram Moolenaar
2022-09-20 13:51:25 +01:00
parent c14bfc31d9
commit 9781d9c005
4 changed files with 34 additions and 0 deletions

View File

@@ -1,6 +1,8 @@
/* regexp.c */
void init_regexp_timeout(long msec);
void disable_regexp_timeout(void);
void save_timeout_for_debugging(void);
void restore_timeout_for_debugging(void);
int re_multiline(regprog_T *prog);
char_u *skip_regexp(char_u *startp, int delim, int magic);
char_u *skip_regexp_err(char_u *startp, int delim, int magic);