From abf5904cf2d1c7bf6dc4b4e86d905e0ab5b95ccf Mon Sep 17 00:00:00 2001 From: Thomas Vandal Date: Mon, 22 Dec 2025 13:00:13 -0500 Subject: [PATCH 1/2] Add test notebook --- tests/test_nb.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 tests/test_nb.py diff --git a/tests/test_nb.py b/tests/test_nb.py new file mode 100644 index 0000000..63acdab --- /dev/null +++ b/tests/test_nb.py @@ -0,0 +1,15 @@ +# %% +# First cell +print("something") + +# %% +# Cell with a function +def afun(a): + if a == 0: + print("Zero") + else: + print("Non-zero") + + +# %% +print("done") From ba7e426cab6a64ba3e6e0c6b94ad5b7e373f2531 Mon Sep 17 00:00:00 2001 From: Thomas Vandal Date: Mon, 22 Dec 2025 13:00:28 -0500 Subject: [PATCH 2/2] Mention bracketed paste for toggleterm in the README --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9245427..f35014d 100644 --- a/README.md +++ b/README.md @@ -176,8 +176,9 @@ to `false`. See issue for more details. ## Dependencies The currently supported REPLs are: -- [iron.nvim](https://github.com/Vigemus/iron.nvim), -- [toggleterm.nvim](https://github.com/akinsho/toggleterm.nvim) or +- [iron.nvim](https://github.com/Vigemus/iron.nvim) +- [toggleterm.nvim](https://github.com/akinsho/toggleterm.nvim) + - Use [PR 591](https://github.com/akinsho/toggleterm.nvim/pull/591) to use the `use_bracketed_paste` in the `repl_args`. - [molten-nvim](https://github.com/benlubas/molten-nvim) The latter are automatically detected. Support for others like `conjure`