diff --git a/.gitmodules b/.gitmodules index 29240331..9badd674 100644 --- a/.gitmodules +++ b/.gitmodules @@ -645,3 +645,6 @@ [submodule "vendor/grammars/perl.tmbundle"] path = vendor/grammars/perl.tmbundle url = https://github.com/textmate/perl.tmbundle +[submodule "vendor/grammars/Sublime-Red"] + path = vendor/grammars/Sublime-Red + url = https://github.com/Oldes/Sublime-Red diff --git a/grammars.yml b/grammars.yml index de69172a..ca828aa8 100644 --- a/grammars.yml +++ b/grammars.yml @@ -113,6 +113,8 @@ vendor/grammars/Sublime-QML: - source.qml vendor/grammars/Sublime-REBOL: - source.rebol +vendor/grammars/Sublime-Red: +- source.red vendor/grammars/Sublime-SQF-Language: - source.sqf vendor/grammars/Sublime-Text-2-OpenEdge-ABL: diff --git a/lib/linguist/languages.yml b/lib/linguist/languages.yml index b68baf2b..45802128 100644 --- a/lib/linguist/languages.yml +++ b/lib/linguist/languages.yml @@ -2637,7 +2637,7 @@ Red: - .reds aliases: - red/system - tm_scope: none + tm_scope: source.red ace_mode: text Redcode: diff --git a/vendor/grammars/Sublime-Red b/vendor/grammars/Sublime-Red new file mode 160000 index 00000000..4c84201c --- /dev/null +++ b/vendor/grammars/Sublime-Red @@ -0,0 +1 @@ +Subproject commit 4c84201cd2e25d4c2b714358110fae7488c65593