mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-22 08:53:33 +02:00
30 lines
529 B
Lua
30 lines
529 B
Lua
return {
|
|
recommended = function()
|
|
return LazyVim.extras.wants({
|
|
ft = "astro",
|
|
root = {
|
|
"astro.config.js",
|
|
"astro.config.mjs",
|
|
"astro.config.cjs",
|
|
},
|
|
})
|
|
end,
|
|
|
|
{
|
|
"nvim-treesitter/nvim-treesitter",
|
|
opts = function(_, opts)
|
|
if type(opts.ensure_installed) == "table" then
|
|
vim.list_extend(opts.ensure_installed, { "astro" })
|
|
end
|
|
end,
|
|
},
|
|
|
|
{
|
|
"neovim/nvim-lspconfig",
|
|
opts = {
|
|
servers = {
|
|
astro = {},
|
|
},
|
|
},
|
|
},
|
|
}
|