Add AsciiDoc as an option

This commit is contained in:
Garen Torikian
2013-09-24 16:28:54 -07:00
parent a3a6c2f8b3
commit 5d35d18634
2 changed files with 11 additions and 1 deletions

View File

@@ -25,7 +25,7 @@ module Linguist
# #
# Returns an array # Returns an array
def self.detectable_markup def self.detectable_markup
["CSS", "Less", "Sass", "Markdown", "Textile", "reStructuredText"] ["CSS", "Less", "Sass", "Markdown", "Textile", "reStructuredText", "AsciiDoc"]
end end
# Internal: Create a new Language object # Internal: Create a new Language object

View File

@@ -74,6 +74,16 @@ Arduino:
lexer: C++ lexer: C++
primary_extension: .ino primary_extension: .ino
AsciiDoc:
type: markup
lexer: Text only
ace_mode: asciidoc
wrap: true
primary_extension: .asciidoc
extensions:
- .adoc
- .asc
ASP: ASP:
type: programming type: programming
color: "#6a40fd" color: "#6a40fd"