Skip to content

Commit

Permalink
Add Xmake language (#7199)
Browse files Browse the repository at this point in the history
* Add Xmake language

* fix README

* add .lua extension for xmake

* move xmake sample to filenames

* sort language

* Add sample

---------

Co-authored-by: Colin Seymour <[email protected]>
  • Loading branch information
waruqi and lildude authored Jan 14, 2025
1 parent 1a30b0f commit be39d09
Show file tree
Hide file tree
Showing 7 changed files with 921 additions and 0 deletions.
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 @@ -1312,6 +1312,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
Loading

0 comments on commit be39d09

Please sign in to comment.