From 5e18a0633177e423d253cdafa699a72c6b9876d3 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 22 Jul 2020 20:22:07 +0200 Subject: Adding upstream version 1.4.25. Signed-off-by: Daniel Baumann --- identify/extensions.py | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'identify') diff --git a/identify/extensions.py b/identify/extensions.py index 4d50fcd..e62000e 100644 --- a/identify/extensions.py +++ b/identify/extensions.py @@ -16,6 +16,7 @@ EXTENSIONS = { 'cc': {'text', 'c++'}, 'cu': {'text', 'cuda'}, 'cfg': {'text'}, + 'chs': {'text', 'c2hs'}, 'clj': {'text', 'clojure'}, 'cljc': {'text', 'clojure'}, 'cljs': {'text', 'clojure', 'clojurescript'}, @@ -58,6 +59,7 @@ EXTENSIONS = { '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++'}, @@ -86,6 +88,7 @@ EXTENSIONS = { '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'}, @@ -127,6 +130,8 @@ EXTENSIONS = { 'py': {'text', 'python'}, 'pyi': {'text', 'pyi'}, 'pyx': {'text', 'cython'}, + 'pyz': {'binary', 'pyz'}, + 'pyzw': {'binary', 'pyz'}, 'pxd': {'text', 'cython'}, 'pxi': {'text', 'cython'}, 'r': {'text', 'r'}, @@ -147,7 +152,9 @@ EXTENSIONS = { 'ss': {'text', 'scheme'}, 'styl': {'text', 'stylus'}, 'sql': {'text', 'sql'}, + 'sv': {'text', 'system-verilog'}, 'svg': {'text', 'image', 'svg'}, + 'svh': {'text', 'system-verilog'}, 'swf': {'binary', 'swf'}, 'swift': {'text', 'swift'}, 'swiftdeps': {'text', 'swiftdeps'}, @@ -163,7 +170,10 @@ EXTENSIONS = { 'tsx': {'text', 'tsx'}, 'ttf': {'binary', 'ttf'}, 'txt': {'text', 'plain-text'}, + 'v': {'text', 'verilog'}, 'vdx': {'text', 'vdx'}, + 'vh': {'text', 'verilog'}, + 'vhd': {'text', 'vhdl'}, 'vim': {'text', 'vim'}, 'vue': {'text', 'vue'}, 'war': {'binary', 'zip', 'jar'}, -- cgit v1.2.3