mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-30 22:34:13 +00:00
3676ca879b
This PR extracts Astro support into an extension and removes the built-in Astro support from Zed. Release Notes: - Removed built-in support for Astro, in favor of making it available as an extension. The Astro extension will be suggested for download when you open a `.astro` file.
23 lines
1 KiB
TOML
23 lines
1 KiB
TOML
name = "Astro"
|
|
grammar = "astro"
|
|
path_suffixes = ["astro"]
|
|
block_comment = ["<!-- ", " -->"]
|
|
autoclose_before = ";:.,=}])>"
|
|
brackets = [
|
|
{ start = "{", end = "}", close = true, newline = true },
|
|
{ start = "[", end = "]", close = true, newline = true },
|
|
{ start = "(", end = ")", close = true, newline = true },
|
|
{ start = "<", end = ">", close = false, newline = true, not_in = ["string", "comment"] },
|
|
{ start = "\"", end = "\"", close = true, newline = false, not_in = ["string", "comment"] },
|
|
{ start = "'", end = "'", close = true, newline = false, not_in = ["string", "comment"] },
|
|
{ start = "`", end = "`", close = true, newline = false, not_in = ["string"] },
|
|
{ start = "/*", end = " */", close = true, newline = false, not_in = ["string", "comment"] },
|
|
]
|
|
word_characters = ["#", "$", "-"]
|
|
scope_opt_in_language_servers = ["tailwindcss-language-server"]
|
|
prettier_parser_name = "astro"
|
|
prettier_plugins = ["prettier-plugin-astro"]
|
|
|
|
[overrides.string]
|
|
word_characters = ["-"]
|
|
opt_into_language_servers = ["tailwindcss-language-server"]
|