* Replace Swift grammar

* update grammar for bug fix

* update license file
This commit is contained in:
Jacob Bandes-Storch 2023-12-05 00:05:55 -08:00 коммит произвёл GitHub
Родитель f905c58cfa
Коммит f4c35bf84a
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
7 изменённых файлов: 25 добавлений и 23 удалений

6
.gitmodules поставляемый
Просмотреть файл

@ -1148,9 +1148,9 @@
[submodule "vendor/grammars/sweave.tmbundle"]
path = vendor/grammars/sweave.tmbundle
url = https://github.com/textmate/sweave.tmbundle.git
[submodule "vendor/grammars/swift.tmbundle"]
path = vendor/grammars/swift.tmbundle
url = https://github.com/textmate/swift.tmbundle
[submodule "vendor/grammars/swift-tmlanguage"]
path = vendor/grammars/swift-tmlanguage
url = https://github.com/jtbandes/swift-tmlanguage.git
[submodule "vendor/grammars/tcl.tmbundle"]
path = vendor/grammars/tcl.tmbundle
url = https://github.com/textmate/tcl.tmbundle

Просмотреть файл

@ -1030,7 +1030,7 @@ vendor/grammars/sway-vscode-plugin:
- source.sway
vendor/grammars/sweave.tmbundle:
- text.tex.latex.sweave
vendor/grammars/swift.tmbundle:
vendor/grammars/swift-tmlanguage:
- source.swift
vendor/grammars/tcl.tmbundle:
- source.tcl

2
vendor/README.md поставляемый
Просмотреть файл

@ -535,7 +535,7 @@ This is a list of grammars that Linguist selects to provide syntax highlighting
- **Svelte:** [sebastinez/svelte-atom](https://github.com/sebastinez/svelte-atom)
- **Sway:** [FuelLabs/sway-vscode-plugin](https://github.com/FuelLabs/sway-vscode-plugin)
- **Sweave:** [textmate/sweave.tmbundle](https://github.com/textmate/sweave.tmbundle)
- **Swift:** [textmate/swift.tmbundle](https://github.com/textmate/swift.tmbundle)
- **Swift:** [jtbandes/swift-tmlanguage](https://github.com/jtbandes/swift-tmlanguage)
- **SystemVerilog:** [TheClams/SystemVerilog](https://github.com/TheClams/SystemVerilog)
- **TL-Verilog:** [adamint/tlv-vscode](https://github.com/adamint/tlv-vscode)
- **TLA:** [tlaplus-community/tree-sitter-tlaplus](https://github.com/tlaplus-community/tree-sitter-tlaplus) 🐌

1
vendor/grammars/swift-tmlanguage поставляемый Submodule

@ -0,0 +1 @@
Subproject commit 62239f3ff29224c7317ab2fbcc769e3c61beb2a8

1
vendor/grammars/swift.tmbundle поставляемый

@ -1 +0,0 @@
Subproject commit aa73c3410d26dea8d39c834fd8e9bec4319dad2c

19
vendor/licenses/git_submodule/swift-tmlanguage.dep.yml поставляемый Normal file
Просмотреть файл

@ -0,0 +1,19 @@
---
name: swift-tmlanguage
version: 62239f3ff29224c7317ab2fbcc769e3c61beb2a8
type: git_submodule
homepage: https://github.com/jtbandes/swift-tmlanguage.git
license: mit
licenses:
- sources: LICENSE.md
text: |
Copyright 2023 Jacob Bandes-Storch
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.
- sources: README.md
text: This project is licensed under the terms of the [MIT license](LICENSE.md).
notices: []

Просмотреть файл

@ -1,17 +0,0 @@
---
name: swift.tmbundle
version: aa73c3410d26dea8d39c834fd8e9bec4319dad2c
type: git_submodule
homepage: https://github.com/textmate/swift.tmbundle
license: permissive
licenses:
- sources: README.md
text: "If not otherwise specified (see below), files in this repository fall under
the following license:\n\n\tPermission to copy, use, modify, sell and distribute
this\n\tsoftware is granted. This software is provided \"as is\" without\n\texpress
or implied warranty, and with no claim as to its\n\tsuitability for any purpose.\n\nAn
exception is made for files in readable text which contain their own license information,
or files where an accompanying file exists (in the same directory) with a “-license”
suffix added to the base-name name of the original file, and an extension of txt,
html, or similar. For example “tidy” is accompanied by “tidy-license.txt”."
notices: []