diff options
Diffstat (limited to 'nvim/lua/plugins/R.lua')
| -rw-r--r-- | nvim/lua/plugins/R.lua | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/nvim/lua/plugins/R.lua b/nvim/lua/plugins/R.lua index b4dec39..1188a26 100644 --- a/nvim/lua/plugins/R.lua +++ b/nvim/lua/plugins/R.lua @@ -36,13 +36,8 @@ return { "RSaveClose", }, } - -- Check if the environment variable "R_AUTO_START" exists. - -- If using fish shell, you could put in your config.fish: - -- alias r "R_AUTO_START=true nvim" - if vim.env.R_AUTO_START == "true" then - opts.auto_start = "on startup" - opts.objbr_auto_start = true - end + opts.auto_start = "on startup" + opts.objbr_auto_start = true require("r").setup(opts) end, } |
