mirror of
https://github.com/neovim/neovim.git
synced 2025-09-05 19:08:15 +00:00
vim-patch:8.2.4299: SafeState autocommand interferes with debugging
Problem: SafeState autocommand interferes with debugging.
Solution: Do not trigger SafeState while debugging. (closes vim/vim#9697)
46f3080e5c
Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
@@ -279,7 +279,8 @@ static bool is_safe_now(void)
|
||||
return stuff_empty()
|
||||
&& typebuf.tb_len == 0
|
||||
&& !using_script()
|
||||
&& !global_busy;
|
||||
&& !global_busy
|
||||
&& !debug_mode;
|
||||
}
|
||||
|
||||
/// Trigger SafeState if currently in s safe state, that is "safe" is TRUE and
|
||||
|
Reference in New Issue
Block a user