Add stylus support

This commit is contained in:
Adam Krebs
2013-12-09 22:42:57 -05:00
parent 2180c11dc6
commit fc9bc8b9e1
5 changed files with 28 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

@@ -1519,6 +1519,11 @@ Standard ML:
- sml
primary_extension: .sml
Stylus:
type: markup
group: CSS
primary_extension: .styl
SuperCollider:
type: programming
color: "#46390b"

View File

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