mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-12-08 04:18:48 +00:00
Add stylus support
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -1519,6 +1519,11 @@ Standard ML:
|
||||
- sml
|
||||
primary_extension: .sml
|
||||
|
||||
Stylus:
|
||||
type: markup
|
||||
group: CSS
|
||||
primary_extension: .styl
|
||||
|
||||
SuperCollider:
|
||||
type: programming
|
||||
color: "#46390b"
|
||||
|
||||
@@ -363,6 +363,9 @@
|
||||
".sig",
|
||||
".sml"
|
||||
],
|
||||
"Stylus": [
|
||||
".styl"
|
||||
],
|
||||
"SuperCollider": [
|
||||
".sc",
|
||||
".scd"
|
||||
|
||||
Reference in New Issue
Block a user