diff --git a/lib/linguist/heuristics.rb b/lib/linguist/heuristics.rb index f4303c88..c7f31a42 100644 --- a/lib/linguist/heuristics.rb +++ b/lib/linguist/heuristics.rb @@ -39,8 +39,9 @@ module Linguist matches = [] if (/@(interface|class|protocol|synchronised|selector|implementation)/.match(data)) matches << Language["Objective-C"] - elsif (/^\s*#\s*include <(cstdint|string|vector|map|list|array|bitset|queue|stack|forward_list|unordered_map|unordered_set)>/.match(data) or - /template\s*/.match(data) or + /^\s*template\s*