Merge pull request #822 from akre54/stylus-support

Add stylus support
This commit is contained in:
Ted Nyman
2013-12-11 15:03:42 -08:00
4 changed files with 41 additions and 1 deletions

View File

@@ -32,7 +32,7 @@ module Linguist
#
# Returns an array
def self.detectable_markup
["CSS", "Less", "Sass", "TeX"]
["CSS", "Less", "Sass", "Stylus", "TeX"]
end
# Detect languages by a specific type

View File

@@ -1530,6 +1530,12 @@ Standard ML:
- sml
primary_extension: .sml
Stylus:
type: markup
group: CSS
lexer: Text only
primary_extension: .styl
SuperCollider:
type: programming
color: "#46390b"

View File

@@ -381,6 +381,9 @@
".sig",
".sml"
],
"Stylus": [
".styl"
],
"SuperCollider": [
".sc",
".scd"