mirror of
https://github.com/zed-industries/zed.git
synced 2026-05-30 03:34:30 +00:00
> [!NOTE] > The https://github.com/tree-sitter-grammars/tree-sitter-svelte repository seems to be more well maintained, with higher quality code, and as per https://github.com/zed-extensions/svelte/issues/1 it was suggested that we swap to this repository for Svelte grammars - Closes https://github.com/zed-industries/zed/issues/17310 - Closes https://github.com/zed-industries/zed/issues/10893 - Closes https://github.com/zed-industries/zed/issues/12833 - Closes https://github.com/zed-extensions/svelte/issues/1 - Closes https://github.com/zed-industries/zed/issues/14943 - Closes https://github.com/zed-extensions/svelte/issues/2 - Added: buffer/file symbol outlines for `.svelte` (`outlines.scm`) - Improved: Attribute directives & modifiers in `.svelte` files can be styled independently. - Fixed: issue where svelte expression inside quotes failed parsing - Improved: Svelte components in Markup are styled differently from tags. - Added: Support for Svelte 5 syntax (`{#snippet children()}`, `{@render foo()`) - Change: Svelte now using [tree-sitter-grammars/tree-sitter-svelte](https://github.com/tree-sitter-grammars/tree-sitter-svelte) for language highlighting - Added: Support for typescript syntax in svelte expressions   Release Notes: - N/A --- **tree-sitter-grammar things to improve** - [ ] snippet functions aren't being treated as JS code - [ ] we should be able to detect @component comments and treat them as markdown - [x] `foo:bar` style/class/prop directives - [x] `--foo="..."` var fields - [ ] snippet/if blocks's children may need to be indented a little further Will implement some of the rest of these in a separate PR --------- Co-authored-by: Marshall Bowers <elliott.codes@gmail.com> |
||
|---|---|---|
| .. | ||
| asciidoc.md | ||
| astro.md | ||
| bash.md | ||
| biome.md | ||
| c.md | ||
| clojure.md | ||
| cpp.md | ||
| csharp.md | ||
| css.md | ||
| dart.md | ||
| deno.md | ||
| docker.md | ||
| elixir.md | ||
| elm.md | ||
| emmet.md | ||
| erlang.md | ||
| fish.md | ||
| gdscript.md | ||
| gleam.md | ||
| glsl.md | ||
| go.md | ||
| groovy.md | ||
| haskell.md | ||
| html.md | ||
| java.md | ||
| javascript.md | ||
| json.md | ||
| julia.md | ||
| kotlin.md | ||
| lua.md | ||
| luau.md | ||
| makefile.md | ||
| markdown.md | ||
| nim.md | ||
| ocaml.md | ||
| php.md | ||
| prisma.md | ||
| proto.md | ||
| purescript.md | ||
| python.md | ||
| r.md | ||
| racket.md | ||
| roc.md | ||
| rst.md | ||
| ruby.md | ||
| rust.md | ||
| scala.md | ||
| scheme.md | ||
| svelte.md | ||
| swift.md | ||
| tailwindcss.md | ||
| terraform.md | ||
| toml.md | ||
| typescript.md | ||
| uiua.md | ||
| vue.md | ||
| yaml.md | ||
| yarn.md | ||
| zig.md | ||