You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
1.3 KiB

return {
-- lang server installations
{
'williamboman/mason.nvim',
dependencies = {
{
'nvimtools/none-ls.nvim',
config = function()
require("null-ls").setup({
sources = {
-- latex
-- require("null-ls").builtins.formatting.latexindent,
-- lua
require("null-ls").builtins.formatting.stylua,
-- markdown
require("null-ls").builtins.formatting.mdformat,
-- python
require("null-ls").builtins.formatting.isort,
require("null-ls").builtins.formatting.yapf,
-- shell
-- require("null-ls").builtins.formatting.beautysh,
-- yaml
require("null-ls").builtins.formatting.yamlfmt,
}
})
end
},
{
'jay-babu/mason-null-ls.nvim',
opts = {
automatic_installation = true,
ensure_installed = {
-- latex
"latexindent",
-- lua
"stylua",
-- markdown
"mdformat",
-- python
"isort",
"yapf",
-- shell
"beautysh",
-- yaml
"yamlfmt",
}
}
}
},
opts = { ui = { icons = Install_signs } }
}
}