Merge pull request #2097 from github/detect-all-markup

Detect all markup languages when computing language statistics
This commit is contained in:
Adam Roben
2015-02-13 16:43:41 -05:00
9 changed files with 151 additions and 18 deletions

View File

@@ -32,13 +32,6 @@ module Linguist
# Valid Languages types
TYPES = [:data, :markup, :programming, :prose]
# Names of non-programming languages that we will still detect
#
# Returns an array
def self.detectable_markup
["CSS", "Less", "Sass", "SCSS", "Stylus", "TeX"]
end
# Detect languages by a specific type
#
# type - A symbol that exists within TYPES