diff --git a/lua/r/send.lua b/lua/r/send.lua index 92a6c5c8..f12e5e5b 100644 --- a/lua/r/send.lua +++ b/lua/r/send.lua @@ -401,7 +401,7 @@ M.chunks_up_to_here = function() .. table.concat(chunklines, "\n"):gsub('"', '\\"') .. '")' ) - else + elseif lang == "R" then for _, v in pairs(chunklines) do table.insert(codelines, v) end