mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
remove personal things that other people might not use
This commit is contained in:
parent
50e698d0f6
commit
80a43181ac
1 changed files with 8 additions and 30 deletions
|
|
@ -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,
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue