diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2024-01-19 12:10:31 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-19 12:10:31 +0800 |
| commit | 0ef27180e31671a043b28547da327cd52f1a87c4 (patch) | |
| tree | c27d0a5ab971cc09c1b52400027654488016301f /src/nvim/edit.c | |
| parent | f58c6135084f75e6250fd6b11eac410fb9a21b7a (diff) | |
| parent | 26f836586479239935115944bff1dd2d156ef569 (diff) | |
Merge pull request #27088 from zeertzjq/backportrelease-0.9
Backport to release-0.9
Diffstat (limited to 'src/nvim/edit.c')
| -rw-r--r-- | src/nvim/edit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/edit.c b/src/nvim/edit.c index 80acabc51d..0cc84966ec 100644 --- a/src/nvim/edit.c +++ b/src/nvim/edit.c @@ -393,7 +393,7 @@ static int insert_check(VimState *state) Insstart_orig = Insstart; } - if (curbuf->terminal) { + if (curbuf->terminal && !stop_insert_mode) { // Exit Insert mode and go to Terminal mode. stop_insert_mode = true; restart_edit = 'I'; |
