mirror of
https://github.com/zed-industries/zed.git
synced 2025-02-03 17:44:30 +00:00
Fix: Comment shortcut in Svelte files now respects if the line(s) are HTML vs JS/TS (#5860)
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).
This commit is contained in:
parent
71ec781215
commit
cf3b4b0ba7
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
name = "Svelte"
|
||||
path_suffixes = ["svelte"]
|
||||
line_comment = "// "
|
||||
block_comment = ["<!-- ", " -->"]
|
||||
autoclose_before = ";:.,=}])>"
|
||||
brackets = [
|
||||
{ start = "{", end = "}", close = true, newline = true },
|
||||
|
|
Loading…
Reference in a new issue