Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Xmake language #7199

Merged
merged 7 commits into from
Jan 14, 2025
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -1449,6 +1449,9 @@
[submodule "vendor/grammars/xc.tmbundle"]
path = vendor/grammars/xc.tmbundle
url = https://github.com/graymalkin/xc.tmbundle
[submodule "vendor/grammars/xmake-lua.tmbundle"]
path = vendor/grammars/xmake-lua.tmbundle
url = https://github.com/xmake-io/xmake-lua.tmbundle
[submodule "vendor/grammars/xml.tmbundle"]
path = vendor/grammars/xml.tmbundle
url = https://github.com/textmate/xml.tmbundle
Expand Down
2 changes: 2 additions & 0 deletions grammars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1313,6 +1313,8 @@ vendor/grammars/wollok-sublime:
- source.wollok
vendor/grammars/xc.tmbundle:
- source.xc
vendor/grammars/xmake-lua.tmbundle:
- source.xmake
vendor/grammars/xml.tmbundle:
- text.xml
- text.xml.xsl
Expand Down
8 changes: 8 additions & 0 deletions lib/linguist/languages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8356,6 +8356,14 @@ XSLT:
codemirror_mime_type: text/xml
color: "#EB8CEB"
language_id: 404
Xmake:
type: programming
color: "#22a079"
filenames:
- xmake.lua
tm_scope: source.xmake
ace_mode: text
language_id: 225223071
Xojo:
type: programming
color: "#81bd41"
Expand Down
1 change: 1 addition & 0 deletions vendor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -656,6 +656,7 @@ This is a list of grammars that Linguist selects to provide syntax highlighting
- **XQuery:** [wcandillon/language-jsoniq](https://github.com/wcandillon/language-jsoniq)
- **XS:** [textmate/c.tmbundle](https://github.com/textmate/c.tmbundle)
- **XSLT:** [textmate/xml.tmbundle](https://github.com/textmate/xml.tmbundle)
- **Xmake:** [xmake-io/xmake-lua.tmbundle](https://github.com/xmake-io/xmake-lua.tmbundle)
- **Xojo:** [jimmckay/XojoSyntaxTM](https://github.com/jimmckay/XojoSyntaxTM)
- **Xonsh:** [MagicStack/MagicPython](https://github.com/MagicStack/MagicPython)
- **Xtend:** [staltz/SublimeXtend](https://github.com/staltz/SublimeXtend)
Expand Down
1 change: 1 addition & 0 deletions vendor/grammars/xmake-lua.tmbundle
Submodule xmake-lua.tmbundle added at 2e8dfc
31 changes: 31 additions & 0 deletions vendor/licenses/git_submodule/xmake-lua.tmbundle.dep.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
name: xmake-lua.tmbundle
version: 2e8dfc454ed0f6aef121cfd6fe2be6812eeb6427
type: git_submodule
homepage: https://github.com/xmake-io/xmake-lua.tmbundle
license: mit
licenses:
- sources: LICENSE
text: |
MIT License

Copyright (c) 2022 最萌小汐

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, includinR 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: []
Loading