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
|
# 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
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user