From 7f3f0327c2e497921d3fd5ad1cf5554ced932e89 Mon Sep 17 00:00:00 2001 From: Simon Cooksey Date: Tue, 3 Mar 2015 12:45:08 +0000 Subject: [PATCH] Added XC syntax --- .gitmodules | 3 +++ grammars.yml | 4 ++++ lib/linguist/languages.yml | 2 +- vendor/grammars/xc.tmbundle | 1 + 4 files changed, 9 insertions(+), 1 deletion(-) create mode 160000 vendor/grammars/xc.tmbundle diff --git a/.gitmodules b/.gitmodules index 59844ad5..6990a425 100644 --- a/.gitmodules +++ b/.gitmodules @@ -642,3 +642,6 @@ [submodule "vendor/grammars/sublime-varnish"] path = vendor/grammars/sublime-varnish url = https://github.com/brandonwamboldt/sublime-varnish +[submodule "vendor/grammars/xc.tmbundle"] + path = vendor/grammars/xc.tmbundle + url = https://github.com/graymalkin/xc.tmbundle diff --git a/grammars.yml b/grammars.yml index 9edb205c..695dbd44 100644 --- a/grammars.yml +++ b/grammars.yml @@ -530,6 +530,10 @@ vendor/grammars/verilog.tmbundle: - source.verilog vendor/grammars/x86-assembly-textmate-bundle: - source.asm.x86 +vendor/grammars/xc.tmbundle/: +- source.c +- source.c.platform +- source.xc vendor/grammars/xml.tmbundle: - text.xml - text.xml.xsl diff --git a/lib/linguist/languages.yml b/lib/linguist/languages.yml index 70d52869..6c6f0a65 100644 --- a/lib/linguist/languages.yml +++ b/lib/linguist/languages.yml @@ -3237,7 +3237,7 @@ XC: color: "#99DA07" extensions: - .xc - tm_scope: source.c + tm_scope: source.xc ace_mode: c_cpp XML: diff --git a/vendor/grammars/xc.tmbundle b/vendor/grammars/xc.tmbundle new file mode 160000 index 00000000..83a61a26 --- /dev/null +++ b/vendor/grammars/xc.tmbundle @@ -0,0 +1 @@ +Subproject commit 83a61a26308208ee95354965fe023954c11b6e30