Skip to content

Commit

Permalink
Make objbr_auto_start work as expected
Browse files Browse the repository at this point in the history
  • Loading branch information
jalvesaq committed Feb 7, 2024
1 parent 3117dc5 commit a1fd734
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lua/r/run.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ local warn = require("r").warn
local utils = require("r.utils")
local send = require("r.send")
local cursor = require("r.cursor")
local autosttobjbr
local what_R = "R"
local R_pid = 0
local r_args
Expand Down Expand Up @@ -299,9 +298,7 @@ M.set_nvimcom_info = function(nvimcomversion, rpid, wid, r_info)
end

if config.objbr_auto_start then
autosttobjbr = 1
vim.notify("Not implemented yet autosttobjbr=" .. tostring(autosttobjbr))
vim.fn.timer_start(1010, "RObjBrowser")
vim.fn.timer_start(1010, require("r.browser").start)
end

if config.hook.after_R_start then config.hook.after_R_start() end
Expand Down

0 comments on commit a1fd734

Please sign in to comment.