Created
August 6, 2020 04:48
-
-
Save mattkatz/8830cbf4e91d83e4ef29a5100bf9f601 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # created by doing vim surgery on | |
| # https://github.com/pygments/pygments/blob/master/pygments/lexers/_mapping.py | |
| ext_map = {'.htaccess': ['apacheconf', 'aconf', 'apache'], | |
| 'BAS': ['qbasic', 'basic'], | |
| 'Dockerfile': ['docker', 'dockerfile'], | |
| 'G': ['antlr-as', 'antlr-actionscript','antlr-csharp', 'antlr-c#','antlr-cpp','antlr-java','antlr-objc','antlr-perl','antlr-python','antlr-ruby', 'antlr-rb'], | |
| 'Kconfig*': ['kconfig', 'menuconfig', 'linux-config', 'kernel-config'], | |
| 'PRG': ['foxpro', 'vfp', 'clipper', 'xbase'], | |
| 'Rd': ['rd',], | |
| 'Rout': ['rconsole', 'rout'], | |
| 'S': ['splus', 's', 'r'], | |
| 'SAS': ['sas',], | |
| 'abap': ['abap',], | |
| 'abnf': ['abnf',], | |
| 'adb': ['ada', 'ada95', 'ada2005'], | |
| 'adl': ['adl',], | |
| 'agda': ['agda',], | |
| 'aheui': ['aheui',], | |
| 'ahk': ['ahk', 'autohotkey'], | |
| 'aj': ['aspectj',], | |
| 'als': ['alloy',], | |
| 'apl': ['apl',], | |
| 'applescript': ['applescript',], | |
| 'arw': ['arrow',], | |
| 'as': ['as', 'actionscript','as3', 'actionscript3'], | |
| 'asm': ['nasm','tasm',], | |
| 'aspx': ['aspx-cs','aspx-vb',], | |
| 'asy': ['asy', 'asymptote'], | |
| 'at': ['at', 'ambienttalk', 'ambienttalk/2'], | |
| 'au3': ['autoit',], | |
| 'aug': ['augeas',], | |
| 'awk': ['awk', 'gawk', 'mawk', 'nawk'], | |
| 'b': ['limbo',], | |
| 'bas': ['cbmbas',], | |
| 'bat': ['bat', 'batch', 'dosbatch', 'winbatch'], | |
| 'bb': ['blitzbasic', 'b3d', 'bplus'], | |
| 'bbc': ['bbcbasic','bbcode',], | |
| 'bc': ['bc',], | |
| 'befunge': ['befunge',], | |
| 'bf': ['brainfuck', 'bf'], | |
| 'bib': ['bib', 'bibtex'], | |
| 'bmx': ['blitzmax', 'bmax'], | |
| 'bnf': ['bnf',], | |
| 'boa': ['boa',], | |
| 'boo': ['boo',], | |
| 'bpl': ['boogie',], | |
| 'bst': ['bst', 'bst-pybtex'], | |
| 'bug': ['bugs', 'winbugs', 'openbugs'], | |
| 'c': ['c',], | |
| 'c-objdump': ['c-objdump',], | |
| 'cadl': ['cadl',], | |
| 'camkes': ['camkes', 'idl4'], | |
| 'capnp': ['capnp',], | |
| 'cbl': ['cobolfree',], | |
| 'cdl': ['capdl',], | |
| 'ceylon': ['ceylon',], | |
| 'cf': ['cfengine3', 'cf3'], | |
| 'cfc': ['cfc',], | |
| 'cfm': ['cfm',], | |
| 'chai': ['chai', 'chaiscript'], | |
| 'chpl': ['chapel', 'chpl'], | |
| 'ci': ['charmci',], | |
| 'cirru': ['cirru',], | |
| 'cl': ['common-lisp', 'cl', 'lisp'], | |
| 'clay': ['clay',], | |
| 'clj': ['clojure', 'clj'], | |
| 'cljs': ['clojurescript', 'cljs'], | |
| 'cmake': ['cmake',], | |
| 'cob': ['cobol',], | |
| 'coffee': ['coffee-script', 'coffeescript', 'coffee'], | |
| 'control': ['control', 'debcontrol'], | |
| 'cp': ['componentpascal', 'cp'], | |
| 'cpp': ['cpp', 'c++'], | |
| 'cpp-objdump': ['cpp-objdump', 'c++-objdumb', 'cxx-objdump'], | |
| 'cpsa': ['cpsa',], | |
| 'cr': ['cr', 'crystal'], | |
| 'crmsh': ['crmsh', 'pcmk'], | |
| 'croc': ['croc',], | |
| 'cry': ['cryptol', 'cry'], | |
| 'cs': ['csharp', 'c#'], | |
| 'csd': ['csound-document', 'csound-csd'], | |
| 'css': ['css',], | |
| 'css.in': ['css+mozpreproc',], | |
| 'cu': ['cuda', 'cu'], | |
| 'cw': ['redcode',], | |
| 'cyp': ['cypher',], | |
| 'd': ['d',], | |
| 'd-objdump': ['d-objdump',], | |
| 'dart': ['dart',], | |
| 'dasm16': ['dasm16',], | |
| 'def': ['modula2', 'm2','singularity',], | |
| 'dg': ['dg',], | |
| 'diff': ['diff', 'udiff'], | |
| 'do': ['stata', 'do'], | |
| 'dpatch': ['dpatch',], | |
| 'dtd': ['dtd',], | |
| 'dts': ['devicetree', 'dts'], | |
| 'duel': ['duel', 'jbst', 'jsonml+bst'], | |
| 'dylan': ['dylan',], | |
| 'dylan-console': ['dylan-console', 'dylan-repl'], | |
| 'e': ['eiffel',], | |
| 'ebnf': ['ebnf',], | |
| 'ec': ['ec',], | |
| 'ecl': ['ecl','prolog',], | |
| 'edp': ['freefem',], | |
| 'eg': ['earl-grey', 'earlgrey', 'eg'], | |
| 'el': ['emacs', 'elisp', 'emacs-lisp'], | |
| 'elm': ['elm',], | |
| 'eml': ['email', 'eml'], | |
| 'erl': ['erlang',], | |
| 'erl-sh': ['erl',], | |
| 'evoque': ['evoque',], | |
| 'ex': ['elixir', 'ex', 'exs'], | |
| 'exec': ['execline',], | |
| 'ezt': ['easytrieve',], | |
| 'f': ['fortranfixed',], | |
| 'f03': ['fortran',], | |
| 'factor': ['factor',], | |
| 'fan': ['fan',], | |
| 'feature': ['cucumber', 'gherkin'], | |
| 'fish': ['fish', 'fishshell'], | |
| 'flo': ['floscript', 'flo'], | |
| 'flx': ['felix', 'flx'], | |
| 'fnl': ['fennel', 'fnl'], | |
| 'frt': ['forth',], | |
| 'fs': ['fsharp', 'f#'], | |
| 'fst': ['fstar',], | |
| 'fy': ['fancy', 'fy'], | |
| 'g': ['gap',], | |
| 'gd': ['gdscript', 'gd'], | |
| 'gdc': ['gooddata-cl',], | |
| 'go': ['go',], | |
| 'golo': ['golo',], | |
| 'graph': ['roboconf-graph',], | |
| 'groovy': ['groovy',], | |
| 'gs': ['gosu',], | |
| 'gst': ['gst',], | |
| 'haml': ['haml',], | |
| 'handlebars': ['html+handlebars',], | |
| 'hlsl': ['hlsl',], | |
| 'hs': ['haskell', 'hs'], | |
| 'hsail': ['hsail', 'hsa'], | |
| 'html': ['html',], | |
| 'html': ['html+evoque',], | |
| 'hx': ['hx', 'haxe', 'hxsl'], | |
| 'hxml': ['haxeml', 'hxml'], | |
| 'hy': ['hybris', 'hy','hylang',], | |
| 'i6t': ['i6t',], | |
| 'icl': ['clean',], | |
| 'icn': ['unicon',], | |
| 'icon': ['icon',], | |
| 'idr': ['idris', 'idr'], | |
| 'ijs': ['j',], | |
| 'ik': ['ioke', 'ik'], | |
| 'inf': ['inform6', 'i6'], | |
| 'ini': ['ini', 'cfg', 'dosini'], | |
| 'ino': ['arduino',], | |
| 'instances': ['roboconf-instances',], | |
| 'io': ['io',], | |
| 'ipf': ['igor', 'igorpro'], | |
| 'j': ['jasmin', 'jasminxt','objective-j', 'objectivej', 'obj-j', 'objj'], | |
| 'jag': ['jags',], | |
| 'java': ['java',], | |
| 'jcl': ['jcl',], | |
| 'jl': ['julia', 'jl'], | |
| 'js': ['js', 'javascript'], | |
| 'js.in': ['javascript+mozpreproc',], | |
| 'jsgf': ['jsgf',], | |
| 'json': ['json',], | |
| 'jsonld': ['jsonld', 'json-ld'], | |
| 'jsp': ['jsp',], | |
| 'juttle': ['juttle', 'juttle'], | |
| 'kal': ['kal',], | |
| 'kid': ['genshi', 'kid', 'xml+genshi', 'xml+kid'], | |
| 'kk': ['koka',], | |
| 'kmsg': ['kmsg', 'dmesg'], | |
| 'kt': ['kotlin',], | |
| 'lagda': ['lagda', 'literate-agda'], | |
| 'lasso': ['lasso', 'lassoscript'], | |
| 'lcry': ['lcry', 'literate-cryptol', 'lcryptol'], | |
| 'lean': ['lean',], | |
| 'less': ['less',], | |
| 'lgt': ['logtalk',], | |
| 'lhs': ['lhs', 'literate-haskell', 'lhaskell'], | |
| 'lid': ['dylan-lid', 'lid'], | |
| 'lidr': ['lidr', 'literate-idris', 'lidris'], | |
| 'liquid': ['liquid',], | |
| 'll': ['llvm',], | |
| 'ls': ['live-script', 'livescript'], | |
| 'lsl': ['lsl',], | |
| 'lsp': ['newlisp',], | |
| 'lua': ['lua',], | |
| 'm': ['octave','objective-c', 'objectivec', 'obj-c', 'objc','matlab','mason',], | |
| 'mak': ['make', 'makefile', 'mf', 'bsdmake'], | |
| 'mao': ['mako',], | |
| 'maql': ['maql',], | |
| 'mask': ['mask',], | |
| 'md': ['md',], | |
| 'mir': ['llvm-mir',], | |
| 'ml': ['ocaml',], | |
| 'mm': ['objective-c++', 'objectivec++', 'obj-c++', 'objc++'], | |
| 'mo': ['modelica',], | |
| 'monkey': ['monkey',], | |
| 'moo': ['moocode', 'moo'], | |
| 'moon': ['moon', 'moonscript'], | |
| 'mos': ['mosel',], | |
| 'mq4': ['mql', 'mq4', 'mq5', 'mql4', 'mql5'], | |
| 'ms': ['ms', 'miniscript'], | |
| 'msc': ['mscgen', 'msc'], | |
| 'mt': ['monte',], | |
| 'mu': ['mupad',], | |
| 'mxml': ['mxml',], | |
| 'myt': ['myghty',], | |
| 'n': ['ezhil','nemerle',], | |
| 'nb': ['mathematica', 'mma', 'nb'], | |
| 'nc': ['nesc',], | |
| 'ncl': ['ncl',], | |
| 'ng2': ['html+ng2','ng2'], | |
| 'nginx.conf': ['nginx',], | |
| 'ni': ['inform7', 'i7'], | |
| 'nim': ['nim', 'nimrod'], | |
| 'nit': ['nit',], | |
| 'nix': ['nixos', 'nix'], | |
| 'ns2': ['newspeak',], | |
| 'nsi': ['nsis', 'nsi', 'nsh'], | |
| 'objdump': ['objdump',], | |
| 'objdump-intel': ['objdump-nasm',], | |
| 'odin': ['odin',], | |
| 'ooc': ['ooc',], | |
| 'opa': ['opa',], | |
| 'orc': ['csound', 'csound-orc'], | |
| 'p': ['pawn','openedge', 'abl', 'progress'], | |
| 'pacman.conf': ['pacmanconf',], | |
| 'pan': ['pan',], | |
| 'pas': ['delphi', 'pas', 'pascal', 'objectpascal'], | |
| 'pc': ['pkgconfig',], | |
| 'peg': ['peg',], | |
| 'php': ['php', 'php3', 'php4', 'php5'], | |
| 'phtml': ['html+php',], | |
| 'pig': ['pig',], | |
| 'pike': ['pike',], | |
| 'pl': ['perl', 'pl','perl6', 'pl6', 'raku'], | |
| 'plot': ['gnuplot',], | |
| 'pony': ['pony',], | |
| 'pot': ['pot', 'po'], | |
| 'pov': ['pov',], | |
| 'pp': ['puppet',], | |
| 'praat': ['praat',], | |
| 'pro': ['idl',], | |
| 'properties': ['properties', 'jproperties'], | |
| 'proto': ['protobuf', 'proto'], | |
| 'ps': ['postscript', 'postscr'], | |
| 'ps1': ['powershell', 'posh', 'ps1', 'psm1'], | |
| 'psi': ['parasail',], | |
| 'pug': ['pug', 'jade'], | |
| 'py': ['python', 'py', 'sage', 'python3', 'py3','python2', 'py2'], | |
| 'pypylog': ['pypylog', 'pypy'], | |
| 'pytb': ['pytb', 'py3tb'], | |
| 'pyx': ['cython', 'pyx', 'pyrex'], | |
| 'qml': ['qml', 'qbs'], | |
| 'qvto': ['qvto', 'qvt'], | |
| 'r': ['rebol',], | |
| 'rb': ['rb', 'ruby', 'duby'], | |
| 're': ['reason', 'reasonml'], | |
| 'red': ['red', 'red/system'], | |
| 'reg': ['registry',], | |
| 'resource', 'resourcebundle'], | |
| 'rexx': ['rexx', 'arexx'], | |
| 'rhtml': ['rhtml', 'html+erb', 'html+ruby'], | |
| 'ride': ['ride',], | |
| 'rkt': ['racket', 'rkt'], | |
| 'rl': ['ragel-c','ragel-cpp','ragel-d','ragel-em','ragel-java','ragel','ragel-objc','ragel-ruby', 'ragel-rb'], | |
| 'rnc': ['rnc', 'rng-compact'], | |
| 'robot': ['robotframework',], | |
| 'rpf': ['vgl',], | |
| 'rq': ['sparql',], | |
| 'rql': ['rql',], | |
| 'rs': ['rust', 'rs'], | |
| 'rsl': ['rsl',], | |
| 'rst': ['rst', 'rest', 'restructuredtext'], | |
| 'rts': ['rts', 'trafficscript'], | |
| 'run': ['ampl',], | |
| 's': ['ca65','gas', 'asm'], | |
| 'sarl': ['sarl',], | |
| 'sass': ['sass',], | |
| 'sbl': ['snowball',], | |
| 'sc': ['sc', 'supercollider'], | |
| 'scala': ['scala',], | |
| 'scaml': ['scaml',], | |
| 'scd': ['scdoc', 'scd'], | |
| 'sci': ['scilab',], | |
| 'scm': ['scheme', 'scm'], | |
| 'sco': ['csound-score', 'csound-sco'], | |
| 'scss': ['scss',], | |
| 'sgf': ['sgf',], | |
| 'sh': ['bash', 'sh', 'ksh', 'zsh', 'shell'], | |
| 'sh-session': ['console', 'shell-session'], | |
| 'shen': ['shen',], | |
| 'shex': ['shexc', 'shex'], | |
| 'sil': ['silver',], | |
| 'siv': ['sieve',], | |
| 'sl': ['slash',], | |
| 'sl': ['slurm', 'sbatch'], | |
| 'slim': ['slim',], | |
| 'sls': ['yaml+jinja', 'salt', 'sls'], | |
| 'smali': ['smali',], | |
| 'sml': ['sml',], | |
| 'smv': ['nusmv',], | |
| 'snobol': ['snobol',], | |
| 'sol': ['solidity',], | |
| 'sources.list': ['sourceslist', 'sources.list', 'debsources'], | |
| 'sp': ['sp',], | |
| 'spec': ['spec',], | |
| 'sql': ['sql','tsql', 't-sql'], | |
| 'sqlite3-console': ['sqlite3',], | |
| 'squid.conf': ['squidconf', 'squid.conf', 'squid'], | |
| 'ssp': ['ssp',], | |
| 'st': ['smalltalk', 'squeak', 'st'], | |
| 'stan': ['stan',], | |
| 'sv': ['systemverilog', 'sv'], | |
| 'swg': ['swig',], | |
| 'swift': ['swift',], | |
| 't': ['tads3',], | |
| 'tap': ['tap',], | |
| 'tcl': ['tcl',], | |
| 'tcsh': ['tcsh', 'csh'], | |
| 'tea': ['tea',], | |
| 'termcap': ['termcap',], | |
| 'terminfo': ['terminfo',], | |
| 'tex': ['tex', 'latex'], | |
| 'tf': ['terraform', 'tf'], | |
| 'thrift': ['thrift',], | |
| 'thy': ['isabelle',], | |
| 'tid': ['tid',], | |
| 'tmpl': ['cheetah', 'spitfire'], | |
| 'tnt': ['tnt',], | |
| 'todo.txt': ['todotxt',], | |
| 'toml': ['toml',], | |
| 'tpl': ['smarty',], | |
| 'treetop': ['treetop',], | |
| 'ts': ['ts', 'typescript'], | |
| 'ttl': ['turtle','ttl', 'teraterm', 'teratermmacro'], | |
| 'twig': ['html+twig',], | |
| 'txt': ['text',], | |
| 'typoscript': ['typoscript',], | |
| 'u': ['ucode','urbiscript',], | |
| 'usd': ['usd', 'usda'], | |
| 'v': ['coq','verilog', 'v'], | |
| 'vala': ['vala', 'vapi'], | |
| 'vb': ['vb.net', 'vbnet'], | |
| 'vbs': ['vbscript',], | |
| 'vcl': ['vcl',], | |
| 'vert': ['glsl',], | |
| 'vhdl': ['vhdl',], | |
| 'vim': ['vim',], | |
| 'vm': ['velocity',], | |
| 'wdiff': ['wdiff',], | |
| 'webidl': ['webidl',], | |
| 'weechatlog': ['irc',], | |
| 'whiley': ['whiley',], | |
| 'x': ['logos',], | |
| 'x10': ['x10', 'xten'], | |
| 'xml': ['xml','xml+evoque',], | |
| 'xorg.conf': ['xorg.conf',], | |
| 'xqy': ['xquery', 'xqy', 'xq', 'xql', 'xqm'], | |
| 'xsl': ['xslt',], | |
| 'xtend': ['xtend',], | |
| 'xtm': ['extempore',], | |
| 'xul.in': ['xul+mozpreproc',], | |
| 'yaml': ['yaml',], | |
| 'yang': ['yang',], | |
| 'zeek': ['zeek', 'bro'], | |
| 'zep': ['zephir',], | |
| 'zig': ['zig',], | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment