mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-19 23:17:16 +03:00
7edbc718ab
Co-authored-by: Daeraxa <58074586+Daeraxa@users.noreply.github.com>
124 lines
3.2 KiB
JavaScript
124 lines
3.2 KiB
JavaScript
/*
|
|
* This Document defines the Language Identifiers for 'Linguist'
|
|
* That is the string used after a code block delimiter to define
|
|
* what programming language is within the code block.
|
|
*
|
|
* 'Linguist' is the Syntax Highlighting Engine used by GitHub for
|
|
* GitHub FLavoured Markdown:
|
|
* https://github.com/github-linguist/linguist
|
|
*
|
|
* This file can be updated here:
|
|
* https://github.com/github-linguist/linguist/blob/master/lib/linguist/languages.yml
|
|
* Where each key name, and `alias` is a valid language identifier.
|
|
*/
|
|
|
|
module.exports = {
|
|
bash: 'source.shell',
|
|
sh: 'source.shell',
|
|
'shell-script': 'source.shell',
|
|
zsh: 'source.shell',
|
|
powershell: 'source.powershell',
|
|
ps1: 'source.powershell',
|
|
posh: 'source.powershell',
|
|
pwsh: 'source.powershell',
|
|
c: 'source.c',
|
|
'c++': 'source.cpp',
|
|
cpp: 'source.cpp',
|
|
coffee: 'source.coffee',
|
|
'coffee-script': 'source.coffee',
|
|
coffeescript: 'source.coffee',
|
|
cson: 'source.coffee',
|
|
cs: 'source.cs',
|
|
csharp: 'source.cs',
|
|
cake: 'source.cake',
|
|
cakescript: 'source.csx',
|
|
css: 'source.css',
|
|
clojure: 'source.clojure',
|
|
edn: 'source.edn',
|
|
sass: 'source.sass',
|
|
scss: 'source.css.scss',
|
|
erlang: 'source.erl',
|
|
go: 'source.go',
|
|
golang: 'source.go',
|
|
'go.mod': 'source.mod',
|
|
'go mod': 'source.mod',
|
|
'go module': 'source.mod',
|
|
'go.sum': 'source.sum',
|
|
'go sum': 'source.sum',
|
|
'go.work.sum': 'source.sum',
|
|
'go work sum': 'source.sum',
|
|
gitconfig: 'source.git-config',
|
|
gitmodules: 'source.git-config',
|
|
html: 'text.html.basic',
|
|
hta: 'text.html.basic',
|
|
htm: 'text.html.basic',
|
|
'hmtl.hl': 'text.html.basic',
|
|
xht: 'text.html.basic',
|
|
xhmtl: 'text.html.basic',
|
|
kit: 'text.html.basic',
|
|
ejs: 'text.html.ejs',
|
|
ect: 'text.html.ejs',
|
|
'ejs.t': 'text.html.ejs',
|
|
jst: 'text.html.ejs',
|
|
erb: 'text.html.erb',
|
|
rhtml: 'text.html.erb',
|
|
'html+ruby': 'text.html.erb',
|
|
java: 'source.java',
|
|
jav: 'source.java',
|
|
jsh: 'source.java',
|
|
jsp: 'text.html.jsp',
|
|
tag: 'text.html.jsp',
|
|
properties: 'source.java-properties',
|
|
javascript: 'source.js',
|
|
js: 'source.js',
|
|
node: 'source.js',
|
|
json5: 'source.js',
|
|
json: 'source.json',
|
|
geojson: 'source.json',
|
|
jsonl: 'source.json',
|
|
topojson: 'source.json',
|
|
less: 'source.css.less',
|
|
'less-css': 'source.css.less',
|
|
litcoffee: 'source.litcoffee',
|
|
mustache: 'text.html.mustache',
|
|
hbs: 'text.html.handlebars',
|
|
htmlbars: 'text.html.handlebars',
|
|
objc: 'source.objc',
|
|
'objective-c': 'source.objc',
|
|
'obj-c': 'source.objc',
|
|
'obj-c++': 'source.objcpp',
|
|
'objc++': 'source.objcpp',
|
|
'objectivec++': 'source.objcpp',
|
|
objectivec: 'source.objc',
|
|
php: 'text.html.php',
|
|
inc: 'text.html.php',
|
|
'html+php': 'text.html.php',
|
|
py: 'source.python',
|
|
python: 'source.python',
|
|
python3: 'source.python',
|
|
pycon: 'text.python.console',
|
|
rb: 'source.ruby',
|
|
ruby: 'source.ruby',
|
|
jruby: 'source.ruby',
|
|
macruby: 'source.ruby',
|
|
rake: 'source.ruby',
|
|
rb: 'source.ruby',
|
|
rbx: 'source.ruby',
|
|
text: 'text.plain',
|
|
toml: 'source.toml',
|
|
ts: 'source.ts',
|
|
typescript: 'source.ts',
|
|
xml: 'text.xml',
|
|
rss: 'text.xml',
|
|
xsd: 'text.xml',
|
|
wsdl: 'text.xml',
|
|
xslt: 'text.xml.xsl',
|
|
xsl: 'text.xml.xsl',
|
|
yaml: 'source.yaml',
|
|
yml: 'source.yaml',
|
|
make: 'source.makefile',
|
|
cperl: 'source.perl',
|
|
perl: 'source.perl',
|
|
sql: 'source.sql'
|
|
};
|