-
Notifications
You must be signed in to change notification settings - Fork 227
REPL
Raffaele Mancuso edited this page Jan 29, 2024
·
2 revisions
Some REPLs may require configuration in order to work properly with vim-slime.
If you send code to radian, please put
options(radian.auto_match = FALSE)
in $HOME/.config/radian/profile
, in order to stop radian from auto-closing parentheses that will be closed on following lines (thus generating an error).
If you are sending code to IPython, you may want to set InteractiveShell.autoindent
IPython option to False
, in order to prevent IPython from inserting indents on top of the ones already present in your python file (thus duplicating indentation levels and generating IndentationError: unexpected indent
errors).
To remove newlines inserted by IPython between commands, set the InteractiveShell.separate_in
option to ''
.