Fix: Comment shortcut in Svelte files now respects if the line(s) are HTML vs JS/TS (#5860)

Chase Weaver created

Release Notes:

- Fixed: When using the comment shortcut, previously HTML or JS/TS would
all prefix lines with `// `. This PR brings the comments inline with
what is expected (`// ` for JS/TS, `<!-- ... -->` for HTML). Fixes
[#4578](https://github.com/zed-industries/zed/issues/4578).

Change summary

crates/zed/src/languages/svelte/config.toml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

crates/zed/src/languages/svelte/config.toml 🔗

@@ -1,6 +1,6 @@
 name = "Svelte"
 path_suffixes = ["svelte"]
-line_comment = "// "
+block_comment = ["<!-- ", " -->"]
 autoclose_before = ";:.,=}])>"
 brackets = [
     { start = "{", end = "}", close = true, newline = true },