neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit 4b0a13b455e6218514bfc67da0bb375529b4d4d7
parent 71acb7104344e3631e995b973416776aeadda0e1
Author: zeertzjq <zeertzjq@outlook.com>
Date:   Mon, 21 Aug 2023 13:22:36 +0800

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)

https://github.com/vim/vim/commit/46f3080e5cd4cd1bae23e72a429a8195eb1ded7a

Co-authored-by: Bram Moolenaar <Bram@vim.org>

Diffstat:
Msrc/nvim/state.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/nvim/state.c b/src/nvim/state.c @@ -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