summaryrefslogtreecommitdiff
path: root/lua/ben/plugins/nvim-r.lua
blob: 3978d1ea53889b591cfc11e010a3cd5099fdffa7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
return {
	"jalvesaq/Nvim-R",
	-- Only load if R is installed
	cond = function()
		return vim.fn.executable("R")
	end,
	ft = { "R", "Rnoweb", "tex", "aux", "bib" },
	config = function()
		vim.g.r_syntax_folding = 1
		vim.opt.foldnestmax = 1
		vim.opt.foldmethod = "marker"
		vim.g.rout_follow_colorscheme = 0
	end,
}