Add MSBuild language based on XML grammar (#5793)

This commit is contained in:
Brett Lyons 2023-02-03 07:24:22 -07:00 committed by GitHub
parent 30412366be
commit d8f482e11e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 21 additions and 0 deletions

View File

@ -83,6 +83,7 @@
| mermaid | ✓ | | | |
| meson | ✓ | | ✓ | |
| mint | | | | `mint` |
| msbuild | ✓ | | ✓ | |
| nickel | ✓ | | ✓ | `nls` |
| nix | ✓ | | | `nil` |
| nu | ✓ | | | |

View File

@ -2117,3 +2117,20 @@ roots = []
comment-token = "#"
indent = { tab-width = 4, unit = " " }
grammar = "python"
[[language]]
name = "msbuild"
scope = "source.msbuild"
injection-regex = "msbuild"
file-types = ["proj", "vbproj", "csproj", "fsproj", "targets", "props"]
indent = { tab-width = 2, unit = " " }
roots = []
grammar = "xml"
[language.auto-pairs]
'(' = ')'
'{' = '}'
'[' = ']'
'"' = '"'
"'" = "'"
"<" = ">"

View File

@ -0,0 +1 @@
; inherits: xml

View File

@ -0,0 +1 @@
; inherits: xml

View File

@ -0,0 +1 @@
; inherits: xml