Replies: 3 comments
-
The option diff --git a/lua/r/run.lua b/lua/r/run.lua
index d05a13e..c952302 100644
--- a/lua/r/run.lua
+++ b/lua/r/run.lua
@@ -96,13 +96,7 @@ start_R2 = function()
else
table.insert(start_options, "options(nvimcom.nvimpager = TRUE)")
end
- if
- type(config.external_term) == "boolean"
- and not config.external_term
- and config.esc_term
- then
- table.insert(start_options, "options(editor = nvimcom:::nvim.edit)")
- end
+ table.insert(start_options, "options(editor = nvimcom:::nvim.edit)")
if
(type(config.external_term) == "boolean" and config.external_term == true)
or type(config.external_term) == "string" After this change, I have sent the following code to R: x <- c(1, 2, 3) Then, on the R Console, I did: y <- edit(x) With the above simple example, I didn't see any reason not to set the R's |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Thanks for the feedback! I'll wait about a week for comments from other people before adding the option |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This is about the documentation under "R-built-in-terminal" section, which is not clear to me.
I prefer to use double
<esc><esc>
to switch to normal mode in terminal, hence I setesc_term = false
But not sure what is the side effect described in the above snippet from documentation.
Beta Was this translation helpful? Give feedback.
All reactions