Skip to content

Commit

Permalink
Switch C# grammar to official dotnet repo (#5287)
Browse files Browse the repository at this point in the history
  • Loading branch information
am11 authored Mar 26, 2021
1 parent 6c4aa3b commit 35b5667
Show file tree
Hide file tree
Showing 7 changed files with 41 additions and 36 deletions.
6 changes: 3 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,9 @@
[submodule "vendor/grammars/creole"]
path = vendor/grammars/creole
url = https://github.com/Siddley/Creole
[submodule "vendor/grammars/csharp-tmLanguage"]
path = vendor/grammars/csharp-tmLanguage
url = https://github.com/dotnet/csharp-tmLanguage
[submodule "vendor/grammars/cucumber-tmbundle"]
path = vendor/grammars/cucumber-tmbundle
url = https://github.com/cucumber/cucumber-tmbundle
Expand Down Expand Up @@ -515,9 +518,6 @@
[submodule "vendor/grammars/language-crystal"]
path = vendor/grammars/language-crystal
url = https://github.com/atom-crystal/language-crystal
[submodule "vendor/grammars/language-csharp"]
path = vendor/grammars/language-csharp
url = https://github.com/atom/language-csharp
[submodule "vendor/grammars/language-csound"]
path = vendor/grammars/language-csound
url = https://github.com/nwhetsell/language-csound
Expand Down
6 changes: 2 additions & 4 deletions grammars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,8 @@ vendor/grammars/cpp-qt.tmbundle:
- source.qmake
vendor/grammars/creole:
- text.html.creole
vendor/grammars/csharp-tmLanguage:
- source.cs
vendor/grammars/cucumber-tmbundle:
- source.ruby.rspec.cucumber.steps
- text.gherkin.feature
Expand Down Expand Up @@ -419,10 +421,6 @@ vendor/grammars/language-coffee-script:
vendor/grammars/language-crystal:
- source.crystal
- text.html.ecr
vendor/grammars/language-csharp:
- source.cake
- source.cs
- source.csx
vendor/grammars/language-csound:
- source.csound
- source.csound-document
Expand Down
8 changes: 4 additions & 4 deletions vendor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ This is a list of grammars that Linguist selects to provide syntax highlighting
- **Awk:** [github-linguist/awk-sublime](https://github.com/github-linguist/awk-sublime)
- **Ballerina:** [ballerina-platform/ballerina-grammar](https://github.com/ballerina-platform/ballerina-grammar)
- **Batchfile:** [mmims/language-batchfile](https://github.com/mmims/language-batchfile)
- **Beef:** [atom/language-csharp](https://github.com/atom/language-csharp)
- **Beef:** [dotnet/csharp-tmLanguage](https://github.com/dotnet/csharp-tmLanguage)
- **Befunge:** [johanasplund/sublime-befunge](https://github.com/johanasplund/sublime-befunge)
- **BibTeX:** [textmate/latex.tmbundle](https://github.com/textmate/latex.tmbundle)
- **Bison:** [Alhadis/language-grammars](https://github.com/Alhadis/language-grammars)
Expand All @@ -56,7 +56,7 @@ This is a list of grammars that Linguist selects to provide syntax highlighting
- **Brightscript:** [cmink/BrightScript.tmbundle](https://github.com/cmink/BrightScript.tmbundle)
- **Browserslist:** [browserslist/browserslist-vscode](https://github.com/browserslist/browserslist-vscode)
- **C:** [textmate/c.tmbundle](https://github.com/textmate/c.tmbundle)
- **C#:** [atom/language-csharp](https://github.com/atom/language-csharp)
- **C#:** [dotnet/csharp-tmLanguage](https://github.com/dotnet/csharp-tmLanguage)
- **C++:** [textmate/c.tmbundle](https://github.com/textmate/c.tmbundle)
- **C-ObjDump:** [nanoant/assembly.tmbundle](https://github.com/nanoant/assembly.tmbundle)
- **C2hs Haskell:** [atom-haskell/language-haskell](https://github.com/atom-haskell/language-haskell)
Expand Down Expand Up @@ -116,7 +116,7 @@ This is a list of grammars that Linguist selects to provide syntax highlighting
- **ECLiPSe:** [alnkpa/sublimeprolog](https://github.com/alnkpa/sublimeprolog)
- **EJS:** [gregory-m/ejs-tmbundle](https://github.com/gregory-m/ejs-tmbundle)
- **EML:** [mariozaizar/language-eml](https://github.com/mariozaizar/language-eml)
- **EQ:** [atom/language-csharp](https://github.com/atom/language-csharp)
- **EQ:** [dotnet/csharp-tmLanguage](https://github.com/dotnet/csharp-tmLanguage)
- **Eagle:** [textmate/xml.tmbundle](https://github.com/textmate/xml.tmbundle)
- **Easybuild:** [MagicStack/MagicPython](https://github.com/MagicStack/MagicPython)
- **Ecere Projects:** [textmate/json.tmbundle](https://github.com/textmate/json.tmbundle)
Expand Down Expand Up @@ -458,7 +458,7 @@ This is a list of grammars that Linguist selects to provide syntax highlighting
- **Unified Parallel C:** [textmate/c.tmbundle](https://github.com/textmate/c.tmbundle)
- **Unity3D Asset:** [atom/language-yaml](https://github.com/atom/language-yaml)
- **Unix Assembly:** [calculuswhiz/Assembly-Syntax-Definition](https://github.com/calculuswhiz/Assembly-Syntax-Definition)
- **Uno:** [atom/language-csharp](https://github.com/atom/language-csharp)
- **Uno:** [dotnet/csharp-tmLanguage](https://github.com/dotnet/csharp-tmLanguage)
- **UnrealScript:** [textmate/java.tmbundle](https://github.com/textmate/java.tmbundle)
- **UrWeb:** [gwalborn/UrWeb-Language-Definition](https://github.com/gwalborn/UrWeb-Language-Definition)
- **V:** [0x9ef/vscode-vlang](https://github.com/0x9ef/vscode-vlang)
Expand Down
1 change: 1 addition & 0 deletions vendor/grammars/csharp-tmLanguage
Submodule csharp-tmLanguage added at bc7b8c
1 change: 0 additions & 1 deletion vendor/grammars/language-csharp
Submodule language-csharp deleted from c65b44
31 changes: 31 additions & 0 deletions vendor/licenses/git_submodule/csharp-tmLanguage.dep.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
name: csharp-tmLanguage
version: bc7b8cf88d6d1b906219e04da1f3b0f11286d5c1
type: git_submodule
homepage: https://github.com/dotnet/csharp-tmLanguage
license: mit
licenses:
- sources: LICENSE
text: |
MIT License
Copyright (c) 2016 .NET Foundation
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
notices: []
24 changes: 0 additions & 24 deletions vendor/licenses/git_submodule/language-csharp.dep.yml

This file was deleted.

0 comments on commit 35b5667

Please sign in to comment.