Skip to content

Commit

Permalink
Support svelte files (treat as HTML) (#243, #299)
Browse files Browse the repository at this point in the history
  • Loading branch information
stkb committed Nov 23, 2021
1 parent f48d362 commit db77d47
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
See also [https://github.com/stkb/vscode-rewrap/releases](https://github.com/stkb/vscode-rewrap/releases) (for working links to issues)


### 1.15.4
- Support svelte files (HTML) (#243, #299).


### 1.15.3
- VSCode: support untrusted workspaces (#292).
- VSCode: Fix crash when a language extension provides a line- but no block comment marker.
Expand Down
2 changes: 1 addition & 1 deletion core/Parsing.Documents.fs
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ let mutable languages = [
line "#"
]
)
lang "HTML" "htmlx|vue|erb" ".htm|.html|.vue"
lang "HTML" "erb|htmlx|svelte|vue" ".htm|.html|.svelte|.vue"
html
lang "INI" "" ".ini"
( sourceCode [ line "[#;]" ] )
Expand Down

0 comments on commit db77d47

Please # to comment.