Commit 5dd4d50
committed
Fix :ga from within REPL
`:ga` Needed to be executed twice if executed from within the REPL
buffer due to a `nvim_buf_delete`/`nvim_win_close` running into a
"Cannot close last window" error.
This replaces the close call with a `modified` change, which serves the
purpose of not blocking an exit if the REPL prompt buffer is modified.1 parent cc77338 commit 5dd4d50
2 files changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1374 | 1374 | | |
1375 | 1375 | | |
1376 | 1376 | | |
1377 | | - | |
| 1377 | + | |
1378 | 1378 | | |
1379 | 1379 | | |
1380 | 1380 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
618 | 618 | | |
619 | 619 | | |
620 | 620 | | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
621 | 629 | | |
0 commit comments