26 lines
618 B
Lua
26 lines
618 B
Lua
return {
|
|
{
|
|
"nvim-treesitter/nvim-treesitter",
|
|
opts = function(_, opts)
|
|
opts.ensure_installed = vim.list_extend(opts.ensure_installed or {}, { "lua" })
|
|
end,
|
|
},
|
|
{
|
|
"nvimtools/none-ls.nvim",
|
|
opts = function(_, opts)
|
|
local nls = require("null-ls")
|
|
opts.sources = vim.list_extend(opts.sources or {}, {
|
|
nls.builtins.formatting.stylua,
|
|
})
|
|
end,
|
|
},
|
|
{
|
|
"williamboman/mason.nvim",
|
|
opts = function(_, opts)
|
|
opts.ensure_installed = vim.list_extend(opts.ensure_installed or {}, {
|
|
"stylua",
|
|
"lua-language-server",
|
|
})
|
|
end,
|
|
},
|
|
}
|