Skip to content

Instantly share code, notes, and snippets.

@iDevelopThings
Created September 18, 2019 16:04
Show Gist options
  • Save iDevelopThings/92a156baa2995768c1055c1652601d65 to your computer and use it in GitHub Desktop.
Save iDevelopThings/92a156baa2995768c1055c1652601d65 to your computer and use it in GitHub Desktop.
$types = [
'ABAP' => 'abap',
'Windows Bat' => 'bat',
'BibTeX' => 'bibtex',
'Clojure' => 'clojure',
'Coffeescript' => 'coffeescript',
'C' => 'c',
'C++' => 'cpp',
'C#' => 'csharp',
'CSS' => 'css',
'Diff' => 'diff',
'Dockerfile' => 'dockerfile',
'F#' => 'fsharp',
'Git' => ['git-commit', 'git-rebase'],
'Go' => 'go',
'Groovy' => 'groovy',
'Handlebars' => 'handlebars',
'HTML' => 'html',
'Ini' => 'ini',
'Java' => 'java',
'JavaScript' => 'javascript',
'JavaScript React' => 'javascriptreact',
'JSON' => 'json',
'JSON with Comments' => 'jsonc',
'LaTeX' => 'latex',
'Less' => 'less',
'Lua' => 'lua',
'Makefile' => 'makefile',
'Markdown' => 'markdown',
'Objective-C' => 'objective-c',
'Objective-C++' => 'objective-cpp',
'Perl' => ['perl', 'perl6'],
'PHP' => 'php',
'Powershell' => 'powershell',
'Pug' => 'jade',
'Python' => 'python',
'R' => 'r',
'Razor (cshtml)' => 'razor',
'Ruby' => 'ruby',
'Rust' => 'rust',
'SCSS' => ['scss', 'sass'],
'ShaderLab' => 'shaderlab',
'Shell Script (Bash)' => 'shellscript',
'SQL' => 'sql',
'Swift' => 'swift',
'TypeScript' => ['typescript', 'ts'],
'TypeScript React' => 'typescriptreact',
'TeX' => 'tex',
'Visual Basic' => 'vb',
'XML' => 'xml',
'XSL' => 'xsl',
'YAML' => 'yaml',
'VueJS' => 'vue',
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment