mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-21 16:39:06 +02:00
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:
parent
b55c7734df
commit
8be66bb1a6
1 changed files with 2 additions and 0 deletions
|
@ -3,9 +3,11 @@ return {
|
||||||
return LazyVim.extras.wants({
|
return LazyVim.extras.wants({
|
||||||
ft = "astro",
|
ft = "astro",
|
||||||
root = {
|
root = {
|
||||||
|
-- https://docs.astro.build/en/guides/configuring-astro/#supported-config-file-types
|
||||||
"astro.config.js",
|
"astro.config.js",
|
||||||
"astro.config.mjs",
|
"astro.config.mjs",
|
||||||
"astro.config.cjs",
|
"astro.config.cjs",
|
||||||
|
"astro.config.ts",
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue