add zigfmt none-ls formating

This commit is contained in:
Thoxy67 2023-12-06 08:57:30 +01:00 committed by Folke Lemaitre
parent 25110f511b
commit 45d15bba08

View file

@ -88,4 +88,14 @@ return {
}
end,
},
{
"nvimtools/none-ls.nvim",
optional = true,
opts = function(_, opts)
local nls = require("null-ls")
opts.sources = vim.list_extend(opts.sources or {}, {
nls.builtins.formatting.zigfmt,
})
end,
},
}