diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-09-20 13:51:25 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-09-20 13:51:25 +0100 |
commit | 9781d9c00517a67c44b50b040cca2c5804daf15c (patch) | |
tree | 6188156e94afb4d1ed7b3635d94efc3040437e95 /src/proto | |
parent | c14bfc31d907cbee6a3636f780561ad1787cdb9b (diff) | |
download | vim-git-9781d9c00517a67c44b50b040cca2c5804daf15c.tar.gz |
patch 9.0.0513: may not be able to use a pattern ad the debug promptv9.0.0513
Problem: May not be able to use a pattern ad the debug prompt.
Solution: Temporarily disable the timeout. (closes #11164)
Diffstat (limited to 'src/proto')
-rw-r--r-- | src/proto/regexp.pro | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/proto/regexp.pro b/src/proto/regexp.pro index 3fd91eefa..ffd5a0778 100644 --- a/src/proto/regexp.pro +++ b/src/proto/regexp.pro @@ -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); |