diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-02-05 12:10:52 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-02-05 12:10:52 +0000 |
commit | 46f3080e5cd4cd1bae23e72a429a8195eb1ded7a (patch) | |
tree | cfe9dcd9a2796ea0c34ffb0372fd03692254dc8d /src/main.c | |
parent | fc88df42f1ae64bcc4d6cbc0fbd3445f8c59afdf (diff) |
patch 8.2.4299: SafeState autocommand interferes with debuggingv8.2.4299
Problem: SafeState autocommand interferes with debugging.
Solution: Do not trigger SafeState while debugging. (closes #9697)
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c index fa5d8f1d3d..389d570006 100644 --- a/src/main.c +++ b/src/main.c @@ -1047,7 +1047,8 @@ is_safe_now(void) return stuff_empty() && typebuf.tb_len == 0 && scriptin[curscript] == NULL - && !global_busy; + && !global_busy + && !debug_mode; } /* |