mirror of
https://github.com/KevinMidboe/linguist.git
synced 2026-01-28 04:06:02 +00:00
Add language aliases from Pygments
I went through all the aliases Pygments supports and removed the ones that could already be used to find a Linguist::Language. Then I found the Pygments::Lexer associated with each alias and found an associated Linguist::Language for it (looking for a language with the same name as the lexer, or by looking for the first langauge that uses that lexer). Then I added the alias to the language's alias list.
This commit is contained in:
@@ -90,6 +90,8 @@ ActionScript:
|
|||||||
color: "#e3491a"
|
color: "#e3491a"
|
||||||
search_term: as3
|
search_term: as3
|
||||||
aliases:
|
aliases:
|
||||||
|
- actionscript 3
|
||||||
|
- actionscript3
|
||||||
- as3
|
- as3
|
||||||
extensions:
|
extensions:
|
||||||
- .as
|
- .as
|
||||||
@@ -101,6 +103,8 @@ Ada:
|
|||||||
- .adb
|
- .adb
|
||||||
- .ada
|
- .ada
|
||||||
- .ads
|
- .ads
|
||||||
|
aliases:
|
||||||
|
- ada95ada2005
|
||||||
|
|
||||||
Agda:
|
Agda:
|
||||||
type: programming
|
type: programming
|
||||||
@@ -118,6 +122,7 @@ Alloy:
|
|||||||
ApacheConf:
|
ApacheConf:
|
||||||
type: markup
|
type: markup
|
||||||
aliases:
|
aliases:
|
||||||
|
- aconf
|
||||||
- apache
|
- apache
|
||||||
extensions:
|
extensions:
|
||||||
- .apacheconf
|
- .apacheconf
|
||||||
@@ -233,6 +238,9 @@ Batchfile:
|
|||||||
search_term: bat
|
search_term: bat
|
||||||
aliases:
|
aliases:
|
||||||
- bat
|
- bat
|
||||||
|
- batch
|
||||||
|
- dosbatch
|
||||||
|
- winbatch
|
||||||
extensions:
|
extensions:
|
||||||
- .bat
|
- .bat
|
||||||
- .cmd
|
- .cmd
|
||||||
@@ -245,8 +253,10 @@ Befunge:
|
|||||||
BlitzBasic:
|
BlitzBasic:
|
||||||
type: programming
|
type: programming
|
||||||
aliases:
|
aliases:
|
||||||
- blitzplus
|
- b3d
|
||||||
- blitz3d
|
- blitz3d
|
||||||
|
- blitzplus
|
||||||
|
- bplus
|
||||||
extensions:
|
extensions:
|
||||||
- .bb
|
- .bb
|
||||||
- .decls
|
- .decls
|
||||||
@@ -257,6 +267,8 @@ BlitzMax:
|
|||||||
color: "#cd6400"
|
color: "#cd6400"
|
||||||
extensions:
|
extensions:
|
||||||
- .bmx
|
- .bmx
|
||||||
|
aliases:
|
||||||
|
- bmax
|
||||||
|
|
||||||
Bluespec:
|
Bluespec:
|
||||||
type: programming
|
type: programming
|
||||||
@@ -463,6 +475,7 @@ ColdFusion:
|
|||||||
aliases:
|
aliases:
|
||||||
- cfm
|
- cfm
|
||||||
- cfml
|
- cfml
|
||||||
|
- coldfusion html
|
||||||
extensions:
|
extensions:
|
||||||
- .cfm
|
- .cfm
|
||||||
- .cfml
|
- .cfml
|
||||||
@@ -509,6 +522,9 @@ Component Pascal:
|
|||||||
- .cp
|
- .cp
|
||||||
- .cps
|
- .cps
|
||||||
tm_scope: source.pascal
|
tm_scope: source.pascal
|
||||||
|
aliases:
|
||||||
|
- delphi
|
||||||
|
- objectpascal
|
||||||
|
|
||||||
Coq:
|
Coq:
|
||||||
type: programming
|
type: programming
|
||||||
@@ -526,6 +542,8 @@ Cpp-ObjDump:
|
|||||||
- .cpp-objdump
|
- .cpp-objdump
|
||||||
- .cxx-objdump
|
- .cxx-objdump
|
||||||
tm_scope: objdump.x86asm
|
tm_scope: objdump.x86asm
|
||||||
|
aliases:
|
||||||
|
- c++-objdumb
|
||||||
|
|
||||||
Creole:
|
Creole:
|
||||||
type: prose
|
type: prose
|
||||||
@@ -547,6 +565,8 @@ Cucumber:
|
|||||||
extensions:
|
extensions:
|
||||||
- .feature
|
- .feature
|
||||||
tm_scope: text.gherkin.feature
|
tm_scope: text.gherkin.feature
|
||||||
|
aliases:
|
||||||
|
- gherkin
|
||||||
|
|
||||||
Cuda:
|
Cuda:
|
||||||
type: programming
|
type: programming
|
||||||
@@ -570,6 +590,8 @@ Cython:
|
|||||||
- .pyx
|
- .pyx
|
||||||
- .pxd
|
- .pxd
|
||||||
- .pxi
|
- .pxi
|
||||||
|
aliases:
|
||||||
|
- pyrex
|
||||||
|
|
||||||
D:
|
D:
|
||||||
type: programming
|
type: programming
|
||||||
@@ -620,6 +642,8 @@ Diff:
|
|||||||
extensions:
|
extensions:
|
||||||
- .diff
|
- .diff
|
||||||
- .patch
|
- .patch
|
||||||
|
aliases:
|
||||||
|
- udiff
|
||||||
|
|
||||||
Dogescript:
|
Dogescript:
|
||||||
type: programming
|
type: programming
|
||||||
@@ -874,6 +898,9 @@ Genshi:
|
|||||||
extensions:
|
extensions:
|
||||||
- .kid
|
- .kid
|
||||||
tm_scope: text.xml.genshi
|
tm_scope: text.xml.genshi
|
||||||
|
aliases:
|
||||||
|
- xml+genshi
|
||||||
|
- xml+kid
|
||||||
|
|
||||||
Gentoo Ebuild:
|
Gentoo Ebuild:
|
||||||
group: Shell
|
group: Shell
|
||||||
@@ -969,6 +996,8 @@ Groff:
|
|||||||
- '.6'
|
- '.6'
|
||||||
- '.7'
|
- '.7'
|
||||||
tm_scope: text.groff
|
tm_scope: text.groff
|
||||||
|
aliases:
|
||||||
|
- nroff
|
||||||
|
|
||||||
Groovy:
|
Groovy:
|
||||||
type: programming
|
type: programming
|
||||||
@@ -987,6 +1016,7 @@ Groovy Server Pages:
|
|||||||
lexer: Java Server Page
|
lexer: Java Server Page
|
||||||
aliases:
|
aliases:
|
||||||
- gsp
|
- gsp
|
||||||
|
- java server page
|
||||||
extensions:
|
extensions:
|
||||||
- .gsp
|
- .gsp
|
||||||
tm_scope: text.html.jsp
|
tm_scope: text.html.jsp
|
||||||
@@ -1011,6 +1041,10 @@ HTML+Django:
|
|||||||
extensions:
|
extensions:
|
||||||
- .mustache
|
- .mustache
|
||||||
- .jinja
|
- .jinja
|
||||||
|
aliases:
|
||||||
|
- html+django/jinja
|
||||||
|
- html+jinja
|
||||||
|
- htmldjango
|
||||||
|
|
||||||
HTML+ERB:
|
HTML+ERB:
|
||||||
type: markup
|
type: markup
|
||||||
@@ -1090,6 +1124,8 @@ Hy:
|
|||||||
color: "#7891b1"
|
color: "#7891b1"
|
||||||
extensions:
|
extensions:
|
||||||
- .hy
|
- .hy
|
||||||
|
aliases:
|
||||||
|
- hylang
|
||||||
|
|
||||||
IDL:
|
IDL:
|
||||||
type: programming
|
type: programming
|
||||||
@@ -1104,6 +1140,9 @@ IGOR Pro:
|
|||||||
lexer: Igor
|
lexer: Igor
|
||||||
extensions:
|
extensions:
|
||||||
- .ipf
|
- .ipf
|
||||||
|
aliases:
|
||||||
|
- igor
|
||||||
|
- igorpro
|
||||||
|
|
||||||
INI:
|
INI:
|
||||||
type: data
|
type: data
|
||||||
@@ -1113,6 +1152,8 @@ INI:
|
|||||||
- .prefs
|
- .prefs
|
||||||
- .properties
|
- .properties
|
||||||
tm_scope: source.ini
|
tm_scope: source.ini
|
||||||
|
aliases:
|
||||||
|
- dosini
|
||||||
|
|
||||||
Inno Setup:
|
Inno Setup:
|
||||||
extensions:
|
extensions:
|
||||||
@@ -1134,6 +1175,9 @@ Inform 7:
|
|||||||
- .ni
|
- .ni
|
||||||
- .i7x
|
- .i7x
|
||||||
tm_scope: source.inform
|
tm_scope: source.inform
|
||||||
|
aliases:
|
||||||
|
- i7
|
||||||
|
- inform7
|
||||||
|
|
||||||
Inno Setup:
|
Inno Setup:
|
||||||
extensions:
|
extensions:
|
||||||
@@ -1145,6 +1189,7 @@ IRC log:
|
|||||||
search_term: irc
|
search_term: irc
|
||||||
aliases:
|
aliases:
|
||||||
- irc
|
- irc
|
||||||
|
- irc logs
|
||||||
extensions:
|
extensions:
|
||||||
- .irclog
|
- .irclog
|
||||||
- .weechatlog
|
- .weechatlog
|
||||||
@@ -1349,6 +1394,8 @@ Lasso:
|
|||||||
- .lasso9
|
- .lasso9
|
||||||
- .ldml
|
- .ldml
|
||||||
tm_scope: file.lasso
|
tm_scope: file.lasso
|
||||||
|
aliases:
|
||||||
|
- lassoscript
|
||||||
|
|
||||||
Latte:
|
Latte:
|
||||||
type: markup
|
type: markup
|
||||||
@@ -1403,6 +1450,7 @@ Literate Haskell:
|
|||||||
group: Haskell
|
group: Haskell
|
||||||
search_term: lhs
|
search_term: lhs
|
||||||
aliases:
|
aliases:
|
||||||
|
- lhaskell
|
||||||
- lhs
|
- lhs
|
||||||
extensions:
|
extensions:
|
||||||
- .lhs
|
- .lhs
|
||||||
@@ -1413,6 +1461,7 @@ LiveScript:
|
|||||||
ace_mode: ls
|
ace_mode: ls
|
||||||
color: "#499886"
|
color: "#499886"
|
||||||
aliases:
|
aliases:
|
||||||
|
- live-script
|
||||||
- ls
|
- ls
|
||||||
extensions:
|
extensions:
|
||||||
- .ls
|
- .ls
|
||||||
@@ -1476,7 +1525,9 @@ MTML:
|
|||||||
|
|
||||||
Makefile:
|
Makefile:
|
||||||
aliases:
|
aliases:
|
||||||
|
- bsdmake
|
||||||
- make
|
- make
|
||||||
|
- mf
|
||||||
extensions:
|
extensions:
|
||||||
- .mak
|
- .mak
|
||||||
- .mk
|
- .mk
|
||||||
@@ -1526,6 +1577,8 @@ Mathematica:
|
|||||||
- .nb
|
- .nb
|
||||||
- .nbp
|
- .nbp
|
||||||
lexer: Mathematica
|
lexer: Mathematica
|
||||||
|
aliases:
|
||||||
|
- mma
|
||||||
|
|
||||||
Matlab:
|
Matlab:
|
||||||
type: programming
|
type: programming
|
||||||
@@ -1632,6 +1685,8 @@ Nginx:
|
|||||||
extensions:
|
extensions:
|
||||||
- .nginxconf
|
- .nginxconf
|
||||||
tm_scope: source.nginx
|
tm_scope: source.nginx
|
||||||
|
aliases:
|
||||||
|
- nginx configuration file
|
||||||
|
|
||||||
Nimrod:
|
Nimrod:
|
||||||
type: programming
|
type: programming
|
||||||
@@ -1652,6 +1707,8 @@ Nix:
|
|||||||
lexer: Nix
|
lexer: Nix
|
||||||
extensions:
|
extensions:
|
||||||
- .nix
|
- .nix
|
||||||
|
aliases:
|
||||||
|
- nixos
|
||||||
|
|
||||||
Nu:
|
Nu:
|
||||||
type: programming
|
type: programming
|
||||||
@@ -1699,6 +1756,7 @@ Objective-C:
|
|||||||
aliases:
|
aliases:
|
||||||
- obj-c
|
- obj-c
|
||||||
- objc
|
- objc
|
||||||
|
- objectivec
|
||||||
extensions:
|
extensions:
|
||||||
- .m
|
- .m
|
||||||
- .h
|
- .h
|
||||||
@@ -1710,6 +1768,7 @@ Objective-C++:
|
|||||||
aliases:
|
aliases:
|
||||||
- obj-c++
|
- obj-c++
|
||||||
- objc++
|
- objc++
|
||||||
|
- objectivec++
|
||||||
extensions:
|
extensions:
|
||||||
- .mm
|
- .mm
|
||||||
|
|
||||||
@@ -1718,6 +1777,8 @@ Objective-J:
|
|||||||
color: "#ff0c5a"
|
color: "#ff0c5a"
|
||||||
aliases:
|
aliases:
|
||||||
- obj-j
|
- obj-j
|
||||||
|
- objectivej
|
||||||
|
- objj
|
||||||
extensions:
|
extensions:
|
||||||
- .j
|
- .j
|
||||||
- .sj
|
- .sj
|
||||||
@@ -1817,6 +1878,8 @@ PHP:
|
|||||||
- Phakefile
|
- Phakefile
|
||||||
interpreters:
|
interpreters:
|
||||||
- php
|
- php
|
||||||
|
aliases:
|
||||||
|
- inc
|
||||||
|
|
||||||
Pan:
|
Pan:
|
||||||
type: programming
|
type: programming
|
||||||
@@ -1936,6 +1999,8 @@ PostScript:
|
|||||||
- .ps
|
- .ps
|
||||||
- .eps
|
- .eps
|
||||||
tm_scope: source.postscript
|
tm_scope: source.postscript
|
||||||
|
aliases:
|
||||||
|
- postscr
|
||||||
|
|
||||||
PowerShell:
|
PowerShell:
|
||||||
type: programming
|
type: programming
|
||||||
@@ -2055,6 +2120,7 @@ R:
|
|||||||
aliases:
|
aliases:
|
||||||
- R
|
- R
|
||||||
- Rscript
|
- Rscript
|
||||||
|
- splus
|
||||||
extensions:
|
extensions:
|
||||||
- .r
|
- .r
|
||||||
- .R
|
- .R
|
||||||
@@ -2093,6 +2159,8 @@ RHTML:
|
|||||||
extensions:
|
extensions:
|
||||||
- .rhtml
|
- .rhtml
|
||||||
tm_scope: text.html.ruby
|
tm_scope: text.html.ruby
|
||||||
|
aliases:
|
||||||
|
- html+ruby
|
||||||
|
|
||||||
RMarkdown:
|
RMarkdown:
|
||||||
type: prose
|
type: prose
|
||||||
@@ -2120,6 +2188,9 @@ Ragel in Ruby Host:
|
|||||||
color: "#ff9c2e"
|
color: "#ff9c2e"
|
||||||
extensions:
|
extensions:
|
||||||
- .rl
|
- .rl
|
||||||
|
aliases:
|
||||||
|
- ragel-rb
|
||||||
|
- ragel-ruby
|
||||||
|
|
||||||
Raw token data:
|
Raw token data:
|
||||||
search_term: raw
|
search_term: raw
|
||||||
@@ -2146,6 +2217,8 @@ Red:
|
|||||||
extensions:
|
extensions:
|
||||||
- .red
|
- .red
|
||||||
- .reds
|
- .reds
|
||||||
|
aliases:
|
||||||
|
- red/system
|
||||||
|
|
||||||
Redcode:
|
Redcode:
|
||||||
extensions:
|
extensions:
|
||||||
@@ -2354,6 +2427,9 @@ ShellSession:
|
|||||||
lexer: Bash Session
|
lexer: Bash Session
|
||||||
extensions:
|
extensions:
|
||||||
- .sh-session
|
- .sh-session
|
||||||
|
aliases:
|
||||||
|
- bash session
|
||||||
|
- console
|
||||||
|
|
||||||
Shen:
|
Shen:
|
||||||
type: programming
|
type: programming
|
||||||
@@ -2382,6 +2458,8 @@ Smalltalk:
|
|||||||
color: "#596706"
|
color: "#596706"
|
||||||
extensions:
|
extensions:
|
||||||
- .st
|
- .st
|
||||||
|
aliases:
|
||||||
|
- squeak
|
||||||
|
|
||||||
Smarty:
|
Smarty:
|
||||||
extensions:
|
extensions:
|
||||||
@@ -2636,6 +2714,9 @@ Visual Basic:
|
|||||||
- .vbhtml
|
- .vbhtml
|
||||||
- .vbs
|
- .vbs
|
||||||
tm_scope: source.vbnet
|
tm_scope: source.vbnet
|
||||||
|
aliases:
|
||||||
|
- vb.net
|
||||||
|
- vbnet
|
||||||
|
|
||||||
Volt:
|
Volt:
|
||||||
type: programming
|
type: programming
|
||||||
|
|||||||
Reference in New Issue
Block a user