remove personal things that other people might not use

This commit is contained in:
Kevin Robayna 2023-06-05 08:46:07 +01:00
parent 50e698d0f6
commit 80a43181ac
No known key found for this signature in database
GPG key ID: 0FB33959421F81BB

View file

@ -4,13 +4,6 @@ return {
opts = function(_, opts) opts = function(_, opts)
vim.list_extend(opts.ensure_installed, { vim.list_extend(opts.ensure_installed, {
"ruby", "ruby",
})
end,
},
{
"williamboman/mason.nvim",
opts = function(_, opts)
vim.list_extend(opts.ensure_installed, {
"solargraph", "solargraph",
}) })
end, end,
@ -42,31 +35,16 @@ return {
opts = { opts = {
adapters = { adapters = {
["neotest-rspec"] = { ["neotest-rspec"] = {
rspec_cmd = function() -- NOTE: By default neotest-rspec uses the system wide rspec gem isntead of the one through bundler
return vim.tbl_flatten({ -- rspec_cmd = function()
"bundle", -- return vim.tbl_flatten({
"exec", -- "bundle",
"rspec", -- "exec",
}) -- "rspec",
end, -- })
-- end,
}, },
}, },
}, },
}, },
{
"jose-elias-alvarez/null-ls.nvim",
opts = function(_, opts)
local nls = require("null-ls")
vim.list_extend(opts.sources, {
nls.builtins.formatting.rubocop.with({
command = "bundle",
args = vim.list_extend({ "exec", "rubocop" }, nls.builtins.formatting.rubocop._opts.args),
}),
nls.builtins.diagnostics.rubocop.with({
command = "bundle",
args = vim.list_extend({ "exec", "rubocop" }, nls.builtins.diagnostics.rubocop._opts.args),
}),
})
end,
},
} }