Skip to content

Commit

Permalink
Revert "fix(fish): Use mason-null-ls instead of none-ls"
Browse files Browse the repository at this point in the history
This reverts commit 26232a1.
  • Loading branch information
Uzaaft committed Mar 30, 2024
1 parent 26232a1 commit c6feb6f
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions lua/astrocommunity/pack/fish/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,16 @@ return {
end,
},
{
"jay-babu/mason-null-ls.nvim",
"nvimtools/none-ls.nvim",
optional = true,
opts = function(_, opts)
opts.ensure_installed = require("astrocore").list_insert_unique(opts.ensure_installed, { "fish_indent", "fish" })
local nls = require "null-ls"
if type(opts.sources) == "table" then
opts.sources = vim.list_extend(opts.sources, {
nls.builtins.formatting.fish_indent,
nls.builtins.diagnostics.fish,
})
end
end,
},
{
Expand Down

0 comments on commit c6feb6f

Please sign in to comment.