mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Add AsciiDoc as an option
This commit is contained in:
@@ -25,7 +25,7 @@ module Linguist
|
||||
#
|
||||
# Returns an array
|
||||
def self.detectable_markup
|
||||
["CSS", "Less", "Sass", "Markdown", "Textile", "reStructuredText"]
|
||||
["CSS", "Less", "Sass", "Markdown", "Textile", "reStructuredText", "AsciiDoc"]
|
||||
end
|
||||
|
||||
# Internal: Create a new Language object
|
||||
|
||||
@@ -74,6 +74,16 @@ Arduino:
|
||||
lexer: C++
|
||||
primary_extension: .ino
|
||||
|
||||
AsciiDoc:
|
||||
type: markup
|
||||
lexer: Text only
|
||||
ace_mode: asciidoc
|
||||
wrap: true
|
||||
primary_extension: .asciidoc
|
||||
extensions:
|
||||
- .adoc
|
||||
- .asc
|
||||
|
||||
ASP:
|
||||
type: programming
|
||||
color: "#6a40fd"
|
||||
|
||||
Reference in New Issue
Block a user