mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-25 02:46:17 +04:00
Add MSBuild language based on XML grammar (#5793)
This commit is contained in:
parent
30412366be
commit
d8f482e11e
@ -83,6 +83,7 @@
|
||||
| mermaid | ✓ | | | |
|
||||
| meson | ✓ | | ✓ | |
|
||||
| mint | | | | `mint` |
|
||||
| msbuild | ✓ | | ✓ | |
|
||||
| nickel | ✓ | | ✓ | `nls` |
|
||||
| nix | ✓ | | | `nil` |
|
||||
| nu | ✓ | | | |
|
||||
|
@ -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]
|
||||
'(' = ')'
|
||||
'{' = '}'
|
||||
'[' = ']'
|
||||
'"' = '"'
|
||||
"'" = "'"
|
||||
"<" = ">"
|
||||
|
1
runtime/queries/msbuild/highlights.scm
Normal file
1
runtime/queries/msbuild/highlights.scm
Normal file
@ -0,0 +1 @@
|
||||
; inherits: xml
|
1
runtime/queries/msbuild/indents.scm
Normal file
1
runtime/queries/msbuild/indents.scm
Normal file
@ -0,0 +1 @@
|
||||
; inherits: xml
|
1
runtime/queries/msbuild/injections.scm
Normal file
1
runtime/queries/msbuild/injections.scm
Normal file
@ -0,0 +1 @@
|
||||
; inherits: xml
|
Loading…
Reference in New Issue
Block a user