feat(lang): add R support

This commit is contained in:
Maximilian Muecke 2023-07-26 22:40:09 +02:00
parent 9264c54ae9
commit 4d561aced3

View file

@ -0,0 +1,30 @@
return {
{
"nvim-treesitter/nvim-treesitter",
opts = function(_, opts)
if type(opts.ensure_installed) == "table" then
vim.list_extend(opts.ensure_installed, { "r" })
end
end,
},
{
"neovim/nvim-lspconfig",
opts = {
servers = {
r_language_server = {},
},
},
},
{
"nvim-neotest/neotest",
optional = true,
dependencies = {
"shunsambongi/neotest-testthat",
},
opts = {
adapters = {
["neotest-testthat"] = {},
},
},
},
}