Skip to content

Commit

Permalink
fix(ruby): resolve deprecated none-ls sources
Browse files Browse the repository at this point in the history
  • Loading branch information
mehalter committed Mar 1, 2024
1 parent be03a6b commit 0162762
Showing 1 changed file with 2 additions and 17 deletions.
19 changes: 2 additions & 17 deletions lua/astrocommunity/pack/ruby/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,8 @@ return {
"williamboman/mason-lspconfig.nvim",
optional = true,
opts = function(_, opts)
opts.ensure_installed = require("astrocore").list_insert_unique(opts.ensure_installed, { "solargraph" })
end,
},
{
"jay-babu/mason-null-ls.nvim",
optional = true,
opts = function(_, opts)
opts.ensure_installed = require("astrocore").list_insert_unique(opts.ensure_installed, { "standardrb" })
opts.ensure_installed =
require("astrocore").list_insert_unique(opts.ensure_installed, { "solargraph", "standardrb" })
end,
},
{
Expand All @@ -44,13 +38,4 @@ return {
},
},
},
{
"mfussenegger/nvim-lint",
optional = true,
opts = {
linters_by_ft = {
ruby = { "standardrb" },
},
},
},
}

0 comments on commit 0162762

Please sign in to comment.