Skip to content

Commit

Permalink
Merge pull request #117 from merc1031/issue-116
Browse files Browse the repository at this point in the history
feat: Detect common haskell suffixes (hs,lhs,chs)
  • Loading branch information
asottile authored Jul 19, 2020
2 parents 8b7d4e9 + ca18757 commit 4e2268e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions identify/extensions.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
'cc': {'text', 'c++'},
'cu': {'text', 'cuda'},
'cfg': {'text'},
'chs': {'text', 'c2hs'},
'clj': {'text', 'clojure'},
'cljc': {'text', 'clojure'},
'cljs': {'text', 'clojure', 'clojurescript'},
Expand Down Expand Up @@ -58,6 +59,7 @@
'gz': {'binary', 'gzip'},
'h': {'text', 'header', 'c', 'c++'},
'hpp': {'text', 'header', 'c++'},
'hs': {'text', 'haskell'},
'htm': {'text', 'html'},
'html': {'text', 'html'},
'hxx': {'text', 'header', 'c++'},
Expand Down Expand Up @@ -86,6 +88,7 @@
'kml': {'text', 'kml', 'xml'},
'kt': {'text', 'kotlin'},
'less': {'text', 'less'},
'lhs': {'text', 'literate-haskell'},
'lidr': {'text', 'idris'},
'lua': {'text', 'lua'},
'm': {'text', 'c', 'objective-c'},
Expand Down

0 comments on commit 4e2268e

Please sign in to comment.