Skip to content

Commit

Permalink
Add XAML type (stkb#263)
Browse files Browse the repository at this point in the history
VS Code detects .xaml files as .xml files, but VS doesn't (the
language returned is xaml). But there should really be a separate XAML
type, so this adds it (in vscode xaml files will still be treated as xml
unless the user has an extension installed).
  • Loading branch information
stkb committed Mar 23, 2021
1 parent da55918 commit 813728e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ See also [https://github.com/stkb/vscode-rewrap/releases](https://github.com/stk
## Unreleased

- Add ERB (HTML) `.html.erb` (#265).
- Add XAML type (#263).


## 1.14.0

Expand Down
2 changes: 2 additions & 0 deletions core/Parsing.Documents.fs
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,8 @@ let mutable languages = [
java
lang "Verilog/SystemVerilog" "systemverilog|verilog" ".sv|.svh|.v|.vh|.vl"
java
lang "XAML" "" ".xaml"
html
lang "XML" "xsl" ".xml|.xsl"
html
lang "YAML" "" ".yaml|.yml"
Expand Down

0 comments on commit 813728e

Please sign in to comment.