Skip to content

Commit ab429ba

Browse files
committed
Add indirection to the mapped functions to allow reloading
1 parent 1828acd commit ab429ba

File tree

2 files changed

+15
-6
lines changed

2 files changed

+15
-6
lines changed

fnl/conjure/client/python/stdio.fnl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -283,17 +283,17 @@
283283
(fn M.on-filetype []
284284
(mapping.buf
285285
:PythonStart (cfg [:mapping :start])
286-
M.start
286+
#(M.start)
287287
{:desc "Start the Python REPL"})
288288

289289
(mapping.buf
290290
:PythonStop (cfg [:mapping :stop])
291-
M.stop
291+
#(M.stop)
292292
{:desc "Stop the Python REPL"})
293293

294294
(mapping.buf
295295
:PythonInterrupt (cfg [:mapping :interrupt])
296-
M.interrupt
296+
#(M.interrupt)
297297
{:desc "Interrupt the current evaluation"}))
298298

299299
M

lua/conjure/client/python/stdio.lua

Lines changed: 12 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)