From a3c595a4a932d522fbb7c93072c4c9c8d064edc3 Mon Sep 17 00:00:00 2001 From: Paul Chaignon Date: Sun, 15 Feb 2015 17:30:19 +0100 Subject: [PATCH] Grammar for AsciiDoc from TextMate bundle --- .gitmodules | 3 +++ grammars.yml | 2 ++ lib/linguist/languages.yml | 2 +- vendor/grammars/asciidoc.tmbundle | 1 + 4 files changed, 7 insertions(+), 1 deletion(-) create mode 160000 vendor/grammars/asciidoc.tmbundle diff --git a/.gitmodules b/.gitmodules index 6293880d..8f72e84d 100644 --- a/.gitmodules +++ b/.gitmodules @@ -621,3 +621,6 @@ [submodule "vendor/grammars/Stylus"] path = vendor/grammars/Stylus url = https://github.com/billymoon/Stylus +[submodule "vendor/grammars/asciidoc.tmbundle"] + path = vendor/grammars/asciidoc.tmbundle + url = https://github.com/zuckschwerdt/asciidoc.tmbundle diff --git a/grammars.yml b/grammars.yml index 7e74865f..2c8913b0 100644 --- a/grammars.yml +++ b/grammars.yml @@ -150,6 +150,8 @@ vendor/grammars/apache.tmbundle: - source.apache-config.mod_perl vendor/grammars/applescript.tmbundle: - source.applescript +vendor/grammars/asciidoc.tmbundle/: +- text.html.asciidoc vendor/grammars/asp.tmbundle: - source.asp - text.html.asp diff --git a/lib/linguist/languages.yml b/lib/linguist/languages.yml index 6d36fa44..1c3b4034 100644 --- a/lib/linguist/languages.yml +++ b/lib/linguist/languages.yml @@ -186,7 +186,7 @@ AsciiDoc: - .asciidoc - .adoc - .asc - tm_scope: none + tm_scope: text.html.asciidoc AspectJ: type: programming diff --git a/vendor/grammars/asciidoc.tmbundle b/vendor/grammars/asciidoc.tmbundle new file mode 160000 index 00000000..28063ea4 --- /dev/null +++ b/vendor/grammars/asciidoc.tmbundle @@ -0,0 +1 @@ +Subproject commit 28063ea46c1b47d7aec7da39801679763ab00825