fix(extras.astro): support astro.config.ts
root (#3786)
## What is this PR for? Support [`astro.config.ts`](https://docs.astro.build/en/guides/configuring-astro/#supported-config-file-types) as a root file for the Astro extra. ## Does this PR fix an existing issue? N/A ## Checklist - [x] I've read the [CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md) guidelines.
This commit is contained in:
@ -3,9 +3,11 @@ return {
|
||||
return LazyVim.extras.wants({
|
||||
ft = "astro",
|
||||
root = {
|
||||
-- https://docs.astro.build/en/guides/configuring-astro/#supported-config-file-types
|
||||
"astro.config.js",
|
||||
"astro.config.mjs",
|
||||
"astro.config.cjs",
|
||||
"astro.config.ts",
|
||||
},
|
||||
})
|
||||
end,
|
||||
|
Reference in New Issue
Block a user