From 71002dfb650d57dce103b13a640a4f90f8c997da Mon Sep 17 00:00:00 2001 From: Paul Chaignon Date: Sun, 15 Feb 2015 17:16:10 +0100 Subject: [PATCH] Grammar for BrightScript from TextMate bundle --- .gitmodules | 3 +++ grammars.yml | 3 +++ lib/linguist/languages.yml | 2 +- vendor/grammars/BrightScript.tmbundle | 1 + 4 files changed, 8 insertions(+), 1 deletion(-) create mode 160000 vendor/grammars/BrightScript.tmbundle diff --git a/.gitmodules b/.gitmodules index 82559a75..99ed6465 100644 --- a/.gitmodules +++ b/.gitmodules @@ -615,3 +615,6 @@ [submodule "vendor/grammars/mediawiki.tmbundle"] path = vendor/grammars/mediawiki.tmbundle url = https://github.com/textmate/mediawiki.tmbundle +[submodule "vendor/grammars/BrightScript.tmbundle"] + path = vendor/grammars/BrightScript.tmbundle + url = https://github.com/cmink/BrightScript.tmbundle diff --git a/grammars.yml b/grammars.yml index e1a1ce90..540c36c8 100644 --- a/grammars.yml +++ b/grammars.yml @@ -26,6 +26,9 @@ vendor/grammars/Alloy.tmbundle: - source.alloy vendor/grammars/AutoHotkey/: - source.ahk +vendor/grammars/BrightScript.tmbundle/: +- source.brightauthorproject +- source.brightscript vendor/grammars/CLIPS-sublime: - source.clips vendor/grammars/ColdFusion: diff --git a/lib/linguist/languages.yml b/lib/linguist/languages.yml index 9d8ee228..b2dc3698 100644 --- a/lib/linguist/languages.yml +++ b/lib/linguist/languages.yml @@ -336,7 +336,7 @@ Brightscript: type: programming extensions: - .brs - tm_scope: none + tm_scope: source.brightscript ace_mode: text Bro: diff --git a/vendor/grammars/BrightScript.tmbundle b/vendor/grammars/BrightScript.tmbundle new file mode 160000 index 00000000..905791b0 --- /dev/null +++ b/vendor/grammars/BrightScript.tmbundle @@ -0,0 +1 @@ +Subproject commit 905791b02bfc7256604bbc874f8c259713d62b12