mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Update lexers
This commit is contained in:
@@ -64,7 +64,6 @@ Brainfuck:
|
|||||||
- .b
|
- .b
|
||||||
- .bf
|
- .bf
|
||||||
BlitzMax:
|
BlitzMax:
|
||||||
:lexer: Text only
|
|
||||||
:ext:
|
:ext:
|
||||||
- .bmx
|
- .bmx
|
||||||
C:
|
C:
|
||||||
@@ -178,7 +177,6 @@ F#:
|
|||||||
- .fsi
|
- .fsi
|
||||||
- .fsx
|
- .fsx
|
||||||
Factor:
|
Factor:
|
||||||
:lexer: Text only
|
|
||||||
:ext:
|
:ext:
|
||||||
- .factor
|
- .factor
|
||||||
FORTRAN:
|
FORTRAN:
|
||||||
@@ -559,7 +557,6 @@ XML:
|
|||||||
- .mxml
|
- .mxml
|
||||||
- .rdf
|
- .rdf
|
||||||
XQuery:
|
XQuery:
|
||||||
:lexer: Text only
|
|
||||||
:ext:
|
:ext:
|
||||||
- .xqy
|
- .xqy
|
||||||
- .xq
|
- .xq
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# AUTOMATICALLY GENERATED BY bin/pygments-lexers
|
# AUTOMATICALLY GENERATED BY bin/pygments-lexers
|
||||||
# Pygments version 1.3.1
|
# Pygments version 1.4
|
||||||
---
|
---
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
name: JavaScript+Mako
|
name: JavaScript+Mako
|
||||||
@@ -70,6 +70,13 @@
|
|||||||
- *.tpl
|
- *.tpl
|
||||||
mimetypes:
|
mimetypes:
|
||||||
- application/x-smarty
|
- application/x-smarty
|
||||||
|
- !ruby/struct:Linguist::Lexer
|
||||||
|
name: Protocol Buffer
|
||||||
|
aliases:
|
||||||
|
- protobuf
|
||||||
|
filenames:
|
||||||
|
- *.proto
|
||||||
|
mimetypes:
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
name: ApacheConf
|
name: ApacheConf
|
||||||
aliases:
|
aliases:
|
||||||
@@ -103,14 +110,15 @@
|
|||||||
- text/x-javascript+genshi
|
- text/x-javascript+genshi
|
||||||
- text/javascript+genshi
|
- text/javascript+genshi
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
name: Erlang
|
name: Scheme
|
||||||
aliases:
|
aliases:
|
||||||
- erlang
|
- scheme
|
||||||
|
- scm
|
||||||
filenames:
|
filenames:
|
||||||
- *.erl
|
- *.scm
|
||||||
- *.hrl
|
|
||||||
mimetypes:
|
mimetypes:
|
||||||
- text/x-erlang
|
- text/x-scheme
|
||||||
|
- application/x-scheme
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
name: CoffeeScript
|
name: CoffeeScript
|
||||||
aliases:
|
aliases:
|
||||||
@@ -176,6 +184,15 @@
|
|||||||
filenames:
|
filenames:
|
||||||
mimetypes:
|
mimetypes:
|
||||||
- application/xml+smarty
|
- application/xml+smarty
|
||||||
|
- !ruby/struct:Linguist::Lexer
|
||||||
|
name: autohotkey
|
||||||
|
aliases:
|
||||||
|
- ahk
|
||||||
|
filenames:
|
||||||
|
- *.ahk
|
||||||
|
- *.ahkl
|
||||||
|
mimetypes:
|
||||||
|
- text/x-autohotkey
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
name: Felix
|
name: Felix
|
||||||
aliases:
|
aliases:
|
||||||
@@ -192,6 +209,7 @@
|
|||||||
- cmake
|
- cmake
|
||||||
filenames:
|
filenames:
|
||||||
- *.cmake
|
- *.cmake
|
||||||
|
- CMakeLists.txt
|
||||||
mimetypes:
|
mimetypes:
|
||||||
- text/x-cmake
|
- text/x-cmake
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
@@ -234,6 +252,24 @@
|
|||||||
filenames:
|
filenames:
|
||||||
mimetypes:
|
mimetypes:
|
||||||
- application/xml+mako
|
- application/xml+mako
|
||||||
|
- !ruby/struct:Linguist::Lexer
|
||||||
|
name: Scaml
|
||||||
|
aliases:
|
||||||
|
- scaml
|
||||||
|
- SCAML
|
||||||
|
filenames:
|
||||||
|
- *.scaml
|
||||||
|
mimetypes:
|
||||||
|
- text/x-scaml
|
||||||
|
- !ruby/struct:Linguist::Lexer
|
||||||
|
name: MAQL
|
||||||
|
aliases:
|
||||||
|
- maql
|
||||||
|
filenames:
|
||||||
|
- *.maql
|
||||||
|
mimetypes:
|
||||||
|
- text/x-gooddata-maql
|
||||||
|
- application/x-gooddata-maql
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
name: Boo
|
name: Boo
|
||||||
aliases:
|
aliases:
|
||||||
@@ -291,6 +327,14 @@
|
|||||||
- *.lgt
|
- *.lgt
|
||||||
mimetypes:
|
mimetypes:
|
||||||
- text/x-logtalk
|
- text/x-logtalk
|
||||||
|
- !ruby/struct:Linguist::Lexer
|
||||||
|
name: SCSS
|
||||||
|
aliases:
|
||||||
|
- scss
|
||||||
|
filenames:
|
||||||
|
- *.scss
|
||||||
|
mimetypes:
|
||||||
|
- text/x-scss
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
name: BBCode
|
name: BBCode
|
||||||
aliases:
|
aliases:
|
||||||
@@ -329,6 +373,15 @@
|
|||||||
filenames:
|
filenames:
|
||||||
- control
|
- control
|
||||||
mimetypes:
|
mimetypes:
|
||||||
|
- !ruby/struct:Linguist::Lexer
|
||||||
|
name: Jade
|
||||||
|
aliases:
|
||||||
|
- jade
|
||||||
|
- JADE
|
||||||
|
filenames:
|
||||||
|
- *.jade
|
||||||
|
mimetypes:
|
||||||
|
- text/x-jade
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
name: RHTML
|
name: RHTML
|
||||||
aliases:
|
aliases:
|
||||||
@@ -339,6 +392,13 @@
|
|||||||
- *.rhtml
|
- *.rhtml
|
||||||
mimetypes:
|
mimetypes:
|
||||||
- text/html+ruby
|
- text/html+ruby
|
||||||
|
- !ruby/struct:Linguist::Lexer
|
||||||
|
name: XML+Velocity
|
||||||
|
aliases:
|
||||||
|
- xml+velocity
|
||||||
|
filenames:
|
||||||
|
mimetypes:
|
||||||
|
- application/xml+velocity
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
name: JavaScript+Cheetah
|
name: JavaScript+Cheetah
|
||||||
aliases:
|
aliases:
|
||||||
@@ -445,6 +505,7 @@
|
|||||||
- lua
|
- lua
|
||||||
filenames:
|
filenames:
|
||||||
- *.lua
|
- *.lua
|
||||||
|
- *.wlua
|
||||||
mimetypes:
|
mimetypes:
|
||||||
- text/x-lua
|
- text/x-lua
|
||||||
- application/x-lua
|
- application/x-lua
|
||||||
@@ -584,6 +645,14 @@
|
|||||||
- *.asmx
|
- *.asmx
|
||||||
- *.axd
|
- *.axd
|
||||||
mimetypes:
|
mimetypes:
|
||||||
|
- !ruby/struct:Linguist::Lexer
|
||||||
|
name: Properties
|
||||||
|
aliases:
|
||||||
|
- properties
|
||||||
|
filenames:
|
||||||
|
- *.properties
|
||||||
|
mimetypes:
|
||||||
|
- text/x-java-properties
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
name: Ragel in Ruby Host
|
name: Ragel in Ruby Host
|
||||||
aliases:
|
aliases:
|
||||||
@@ -592,6 +661,15 @@
|
|||||||
filenames:
|
filenames:
|
||||||
- *.rl
|
- *.rl
|
||||||
mimetypes:
|
mimetypes:
|
||||||
|
- !ruby/struct:Linguist::Lexer
|
||||||
|
name: BlitzMax
|
||||||
|
aliases:
|
||||||
|
- blitzmax
|
||||||
|
- bmax
|
||||||
|
filenames:
|
||||||
|
- *.bmx
|
||||||
|
mimetypes:
|
||||||
|
- text/x-bmx
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
name: HTML+Genshi
|
name: HTML+Genshi
|
||||||
aliases:
|
aliases:
|
||||||
@@ -619,7 +697,6 @@
|
|||||||
filenames:
|
filenames:
|
||||||
- *.ini
|
- *.ini
|
||||||
- *.cfg
|
- *.cfg
|
||||||
- *.properties
|
|
||||||
mimetypes:
|
mimetypes:
|
||||||
- text/x-ini
|
- text/x-ini
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
@@ -655,6 +732,14 @@
|
|||||||
filenames:
|
filenames:
|
||||||
mimetypes:
|
mimetypes:
|
||||||
- text/css+smarty
|
- text/css+smarty
|
||||||
|
- !ruby/struct:Linguist::Lexer
|
||||||
|
name: Text only
|
||||||
|
aliases:
|
||||||
|
- text
|
||||||
|
filenames:
|
||||||
|
- *.txt
|
||||||
|
mimetypes:
|
||||||
|
- text/plain
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
name: ANTLR With C# Target
|
name: ANTLR With C# Target
|
||||||
aliases:
|
aliases:
|
||||||
@@ -695,13 +780,12 @@
|
|||||||
- *.applescript
|
- *.applescript
|
||||||
mimetypes:
|
mimetypes:
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
name: Text only
|
name: HTML+Smarty
|
||||||
aliases:
|
aliases:
|
||||||
- text
|
- html+smarty
|
||||||
filenames:
|
filenames:
|
||||||
- *.txt
|
|
||||||
mimetypes:
|
mimetypes:
|
||||||
- text/plain
|
- text/html+smarty
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
name: Literate Haskell
|
name: Literate Haskell
|
||||||
aliases:
|
aliases:
|
||||||
@@ -834,6 +918,11 @@
|
|||||||
filenames:
|
filenames:
|
||||||
- *.vim
|
- *.vim
|
||||||
- .vimrc
|
- .vimrc
|
||||||
|
- .exrc
|
||||||
|
- .gvimrc
|
||||||
|
- _vimrc
|
||||||
|
- _exrc
|
||||||
|
- _gvimrc
|
||||||
mimetypes:
|
mimetypes:
|
||||||
- text/x-vim
|
- text/x-vim
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
@@ -844,12 +933,30 @@
|
|||||||
filenames:
|
filenames:
|
||||||
mimetypes:
|
mimetypes:
|
||||||
- text/css+genshi
|
- text/css+genshi
|
||||||
|
- !ruby/struct:Linguist::Lexer
|
||||||
|
name: Fancy
|
||||||
|
aliases:
|
||||||
|
- fancy
|
||||||
|
- fy
|
||||||
|
filenames:
|
||||||
|
- *.fy
|
||||||
|
- *.fancypack
|
||||||
|
mimetypes:
|
||||||
|
- text/x-fancysrc
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
name: Ragel
|
name: Ragel
|
||||||
aliases:
|
aliases:
|
||||||
- ragel
|
- ragel
|
||||||
filenames:
|
filenames:
|
||||||
mimetypes:
|
mimetypes:
|
||||||
|
- !ruby/struct:Linguist::Lexer
|
||||||
|
name: Scalate Server Page
|
||||||
|
aliases:
|
||||||
|
- ssp
|
||||||
|
filenames:
|
||||||
|
- *.ssp
|
||||||
|
mimetypes:
|
||||||
|
- application/x-ssp
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
name: XML+Evoque
|
name: XML+Evoque
|
||||||
aliases:
|
aliases:
|
||||||
@@ -899,6 +1006,13 @@
|
|||||||
filenames:
|
filenames:
|
||||||
mimetypes:
|
mimetypes:
|
||||||
- text/x-lighttpd-conf
|
- text/x-lighttpd-conf
|
||||||
|
- !ruby/struct:Linguist::Lexer
|
||||||
|
name: HTML+Velocity
|
||||||
|
aliases:
|
||||||
|
- html+velocity
|
||||||
|
filenames:
|
||||||
|
mimetypes:
|
||||||
|
- text/html+velocity
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
name: Ragel in D Host
|
name: Ragel in D Host
|
||||||
aliases:
|
aliases:
|
||||||
@@ -955,6 +1069,8 @@
|
|||||||
filenames:
|
filenames:
|
||||||
- *.f
|
- *.f
|
||||||
- *.f90
|
- *.f90
|
||||||
|
- *.F
|
||||||
|
- *.F90
|
||||||
mimetypes:
|
mimetypes:
|
||||||
- text/x-fortran
|
- text/x-fortran
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
@@ -996,6 +1112,7 @@
|
|||||||
- dylan
|
- dylan
|
||||||
filenames:
|
filenames:
|
||||||
- *.dylan
|
- *.dylan
|
||||||
|
- *.dyl
|
||||||
mimetypes:
|
mimetypes:
|
||||||
- text/x-dylan
|
- text/x-dylan
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
@@ -1061,6 +1178,14 @@
|
|||||||
mimetypes:
|
mimetypes:
|
||||||
- text/x-rst
|
- text/x-rst
|
||||||
- text/prs.fallenstein.rst
|
- text/prs.fallenstein.rst
|
||||||
|
- !ruby/struct:Linguist::Lexer
|
||||||
|
name: Velocity
|
||||||
|
aliases:
|
||||||
|
- velocity
|
||||||
|
filenames:
|
||||||
|
- *.vm
|
||||||
|
- *.fhtml
|
||||||
|
mimetypes:
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
name: IRC logs
|
name: IRC logs
|
||||||
aliases:
|
aliases:
|
||||||
@@ -1126,7 +1251,6 @@
|
|||||||
- makefile
|
- makefile
|
||||||
- Makefile.*
|
- Makefile.*
|
||||||
- GNUmakefile
|
- GNUmakefile
|
||||||
- basemake
|
|
||||||
mimetypes:
|
mimetypes:
|
||||||
- text/x-makefile
|
- text/x-makefile
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
@@ -1193,6 +1317,7 @@
|
|||||||
aliases:
|
aliases:
|
||||||
- rb
|
- rb
|
||||||
- ruby
|
- ruby
|
||||||
|
- duby
|
||||||
filenames:
|
filenames:
|
||||||
- *.rb
|
- *.rb
|
||||||
- *.rbw
|
- *.rbw
|
||||||
@@ -1200,16 +1325,18 @@
|
|||||||
- *.rake
|
- *.rake
|
||||||
- *.gemspec
|
- *.gemspec
|
||||||
- *.rbx
|
- *.rbx
|
||||||
|
- *.duby
|
||||||
mimetypes:
|
mimetypes:
|
||||||
- text/x-ruby
|
- text/x-ruby
|
||||||
- application/x-ruby
|
- application/x-ruby
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
name: HTML+Smarty
|
name: Python 3.0 Traceback
|
||||||
aliases:
|
aliases:
|
||||||
- html+smarty
|
- py3tb
|
||||||
filenames:
|
filenames:
|
||||||
|
- *.py3tb
|
||||||
mimetypes:
|
mimetypes:
|
||||||
- text/html+smarty
|
- text/x-python3-traceback
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
name: POVRay
|
name: POVRay
|
||||||
aliases:
|
aliases:
|
||||||
@@ -1234,6 +1361,16 @@
|
|||||||
- *.evoque
|
- *.evoque
|
||||||
mimetypes:
|
mimetypes:
|
||||||
- application/x-evoque
|
- application/x-evoque
|
||||||
|
- !ruby/struct:Linguist::Lexer
|
||||||
|
name: eC
|
||||||
|
aliases:
|
||||||
|
- ec
|
||||||
|
filenames:
|
||||||
|
- *.ec
|
||||||
|
- *.eh
|
||||||
|
mimetypes:
|
||||||
|
- text/x-echdr
|
||||||
|
- text/x-ecsrc
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
name: Java Server Page
|
name: Java Server Page
|
||||||
aliases:
|
aliases:
|
||||||
@@ -1274,6 +1411,19 @@
|
|||||||
- matlabsession
|
- matlabsession
|
||||||
filenames:
|
filenames:
|
||||||
mimetypes:
|
mimetypes:
|
||||||
|
- !ruby/struct:Linguist::Lexer
|
||||||
|
name: Mason
|
||||||
|
aliases:
|
||||||
|
- mason
|
||||||
|
filenames:
|
||||||
|
- *.m
|
||||||
|
- *.mhtml
|
||||||
|
- *.mc
|
||||||
|
- *.mi
|
||||||
|
- autohandler
|
||||||
|
- dhandler
|
||||||
|
mimetypes:
|
||||||
|
- application/x-mason
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
name: HTML+PHP
|
name: HTML+PHP
|
||||||
aliases:
|
aliases:
|
||||||
@@ -1287,13 +1437,23 @@
|
|||||||
- application/x-httpd-php4
|
- application/x-httpd-php4
|
||||||
- application/x-httpd-php5
|
- application/x-httpd-php5
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
name: Python 3.0 Traceback
|
name: PostScript
|
||||||
aliases:
|
aliases:
|
||||||
- py3tb
|
- postscript
|
||||||
filenames:
|
filenames:
|
||||||
- *.py3tb
|
- *.ps
|
||||||
|
- *.eps
|
||||||
mimetypes:
|
mimetypes:
|
||||||
- text/x-python3-traceback
|
- application/postscript
|
||||||
|
- !ruby/struct:Linguist::Lexer
|
||||||
|
name: verilog
|
||||||
|
aliases:
|
||||||
|
- v
|
||||||
|
filenames:
|
||||||
|
- *.v
|
||||||
|
- *.sv
|
||||||
|
mimetypes:
|
||||||
|
- text/x-verilog
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
name: ANTLR With Java Target
|
name: ANTLR With Java Target
|
||||||
aliases:
|
aliases:
|
||||||
@@ -1302,6 +1462,16 @@
|
|||||||
- *.G
|
- *.G
|
||||||
- *.g
|
- *.g
|
||||||
mimetypes:
|
mimetypes:
|
||||||
|
- !ruby/struct:Linguist::Lexer
|
||||||
|
name: Tcl
|
||||||
|
aliases:
|
||||||
|
- tcl
|
||||||
|
filenames:
|
||||||
|
- *.tcl
|
||||||
|
mimetypes:
|
||||||
|
- text/x-tcl
|
||||||
|
- text/x-script.tcl
|
||||||
|
- application/x-tcl
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
name: JavaScript+Ruby
|
name: JavaScript+Ruby
|
||||||
aliases:
|
aliases:
|
||||||
@@ -1334,6 +1504,24 @@
|
|||||||
- *.cxx-objdump
|
- *.cxx-objdump
|
||||||
mimetypes:
|
mimetypes:
|
||||||
- text/x-cpp-objdump
|
- text/x-cpp-objdump
|
||||||
|
- !ruby/struct:Linguist::Lexer
|
||||||
|
name: Ioke
|
||||||
|
aliases:
|
||||||
|
- ioke
|
||||||
|
- ik
|
||||||
|
filenames:
|
||||||
|
- *.ik
|
||||||
|
mimetypes:
|
||||||
|
- text/x-iokesrc
|
||||||
|
- !ruby/struct:Linguist::Lexer
|
||||||
|
name: PyPy Log
|
||||||
|
aliases:
|
||||||
|
- pypylog
|
||||||
|
- pypy
|
||||||
|
filenames:
|
||||||
|
- *.pypylog
|
||||||
|
mimetypes:
|
||||||
|
- application/x-pypylog
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
name: Python 3
|
name: Python 3
|
||||||
aliases:
|
aliases:
|
||||||
@@ -1386,15 +1574,14 @@
|
|||||||
- text/x-cython
|
- text/x-cython
|
||||||
- application/x-cython
|
- application/x-cython
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
name: Scheme
|
name: Erlang
|
||||||
aliases:
|
aliases:
|
||||||
- scheme
|
- erlang
|
||||||
- scm
|
|
||||||
filenames:
|
filenames:
|
||||||
- *.scm
|
- *.erl
|
||||||
|
- *.hrl
|
||||||
mimetypes:
|
mimetypes:
|
||||||
- text/x-scheme
|
- text/x-erlang
|
||||||
- application/x-scheme
|
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
name: Erlang erl session
|
name: Erlang erl session
|
||||||
aliases:
|
aliases:
|
||||||
@@ -1439,15 +1626,20 @@
|
|||||||
mimetypes:
|
mimetypes:
|
||||||
- application/x-myghty
|
- application/x-myghty
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
name: Tcl
|
name: Duel
|
||||||
aliases:
|
aliases:
|
||||||
- tcl
|
- duel
|
||||||
|
- Duel Engine
|
||||||
|
- Duel View
|
||||||
|
- JBST
|
||||||
|
- jbst
|
||||||
|
- JsonML+BST
|
||||||
filenames:
|
filenames:
|
||||||
- *.tcl
|
- *.duel
|
||||||
|
- *.jbst
|
||||||
mimetypes:
|
mimetypes:
|
||||||
- text/x-tcl
|
- text/x-duel
|
||||||
- text/x-script.tcl
|
- text/x-jbst
|
||||||
- application/x-tcl
|
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
name: MOOCode
|
name: MOOCode
|
||||||
aliases:
|
aliases:
|
||||||
@@ -1511,6 +1703,14 @@
|
|||||||
mimetypes:
|
mimetypes:
|
||||||
- application/x-cheetah
|
- application/x-cheetah
|
||||||
- application/x-spitfire
|
- application/x-spitfire
|
||||||
|
- !ruby/struct:Linguist::Lexer
|
||||||
|
name: GoodData-CL
|
||||||
|
aliases:
|
||||||
|
- gooddata-cl
|
||||||
|
filenames:
|
||||||
|
- *.gdc
|
||||||
|
mimetypes:
|
||||||
|
- text/x-gooddata-cl
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
name: Objective-C
|
name: Objective-C
|
||||||
aliases:
|
aliases:
|
||||||
@@ -1530,6 +1730,7 @@
|
|||||||
filenames:
|
filenames:
|
||||||
- *.js
|
- *.js
|
||||||
mimetypes:
|
mimetypes:
|
||||||
|
- application/javascript
|
||||||
- application/x-javascript
|
- application/x-javascript
|
||||||
- text/x-javascript
|
- text/x-javascript
|
||||||
- text/javascript
|
- text/javascript
|
||||||
@@ -1570,6 +1771,17 @@
|
|||||||
- *.G
|
- *.G
|
||||||
- *.g
|
- *.g
|
||||||
mimetypes:
|
mimetypes:
|
||||||
|
- !ruby/struct:Linguist::Lexer
|
||||||
|
name: Hybris
|
||||||
|
aliases:
|
||||||
|
- hybris
|
||||||
|
- hy
|
||||||
|
filenames:
|
||||||
|
- *.hy
|
||||||
|
- *.hyb
|
||||||
|
mimetypes:
|
||||||
|
- text/x-hybris
|
||||||
|
- application/x-hybris
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
name: JavaScript+PHP
|
name: JavaScript+PHP
|
||||||
aliases:
|
aliases:
|
||||||
@@ -1580,6 +1792,25 @@
|
|||||||
- application/x-javascript+php
|
- application/x-javascript+php
|
||||||
- text/x-javascript+php
|
- text/x-javascript+php
|
||||||
- text/javascript+php
|
- text/javascript+php
|
||||||
|
- !ruby/struct:Linguist::Lexer
|
||||||
|
name: Factor
|
||||||
|
aliases:
|
||||||
|
- factor
|
||||||
|
filenames:
|
||||||
|
- *.factor
|
||||||
|
mimetypes:
|
||||||
|
- text/x-factor
|
||||||
|
- !ruby/struct:Linguist::Lexer
|
||||||
|
name: XQuery
|
||||||
|
aliases:
|
||||||
|
- xquery
|
||||||
|
- xqy
|
||||||
|
filenames:
|
||||||
|
- *.xqy
|
||||||
|
- *.xquery
|
||||||
|
mimetypes:
|
||||||
|
- text/xquery
|
||||||
|
- application/xquery
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
name: Ragel in Objective C Host
|
name: Ragel in Objective C Host
|
||||||
aliases:
|
aliases:
|
||||||
@@ -1596,6 +1827,17 @@
|
|||||||
mimetypes:
|
mimetypes:
|
||||||
- application/xml+django
|
- application/xml+django
|
||||||
- application/xml+jinja
|
- application/xml+jinja
|
||||||
|
- !ruby/struct:Linguist::Lexer
|
||||||
|
name: Awk
|
||||||
|
aliases:
|
||||||
|
- awk
|
||||||
|
- gawk
|
||||||
|
- mawk
|
||||||
|
- nawk
|
||||||
|
filenames:
|
||||||
|
- *.awk
|
||||||
|
mimetypes:
|
||||||
|
- application/x-awk
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
name: ANTLR With Ruby Target
|
name: ANTLR With Ruby Target
|
||||||
aliases:
|
aliases:
|
||||||
|
|||||||
@@ -180,13 +180,13 @@ class TestLanguage < Test::Unit::TestCase
|
|||||||
assert_equal Lexer['ActionScript 3'], Language['ActionScript'].lexer
|
assert_equal Lexer['ActionScript 3'], Language['ActionScript'].lexer
|
||||||
assert_equal Lexer['Ada'], Language['Ada'].lexer
|
assert_equal Lexer['Ada'], Language['Ada'].lexer
|
||||||
assert_equal Lexer['AppleScript'], Language['AppleScript'].lexer
|
assert_equal Lexer['AppleScript'], Language['AppleScript'].lexer
|
||||||
# assert_equal Lexer['Arc'] , Language['Arc'].lexer
|
assert_equal Lexer['Text only'], Language['Arc'].lexer
|
||||||
assert_equal Lexer['NASM'], Language['Assembly'].lexer
|
assert_equal Lexer['NASM'], Language['Assembly'].lexer
|
||||||
assert_equal Lexer['Batchfile'], Language['Batchfile'].lexer
|
assert_equal Lexer['Batchfile'], Language['Batchfile'].lexer
|
||||||
assert_equal Lexer['Befunge'], Language['Befunge'].lexer
|
assert_equal Lexer['Befunge'], Language['Befunge'].lexer
|
||||||
assert_equal Lexer['Boo'], Language['Boo'].lexer
|
assert_equal Lexer['Boo'], Language['Boo'].lexer
|
||||||
assert_equal Lexer['Brainfuck'], Language['Brainfuck'].lexer
|
assert_equal Lexer['Brainfuck'], Language['Brainfuck'].lexer
|
||||||
# assert_equal Lexer['BlitzMax'], Language['BlitzMax'].lexer
|
assert_equal Lexer['BlitzMax'], Language['BlitzMax'].lexer
|
||||||
assert_equal Lexer['C'], Language['C'].lexer
|
assert_equal Lexer['C'], Language['C'].lexer
|
||||||
assert_equal Lexer['C#'], Language['C#'].lexer
|
assert_equal Lexer['C#'], Language['C#'].lexer
|
||||||
assert_equal Lexer['C++'], Language['C++'].lexer
|
assert_equal Lexer['C++'], Language['C++'].lexer
|
||||||
@@ -204,11 +204,11 @@ class TestLanguage < Test::Unit::TestCase
|
|||||||
assert_equal Lexer['Diff'], Language['Diff'].lexer
|
assert_equal Lexer['Diff'], Language['Diff'].lexer
|
||||||
assert_equal Lexer['D-ObjDump'], Language['d-objdump'].lexer
|
assert_equal Lexer['D-ObjDump'], Language['d-objdump'].lexer
|
||||||
assert_equal Lexer['Dylan'], Language['Dylan'].lexer
|
assert_equal Lexer['Dylan'], Language['Dylan'].lexer
|
||||||
# assert_equal Lexer['Eiffel'], Language['Eiffel'].lexer
|
assert_equal Lexer['Text only'], Language['Eiffel'].lexer
|
||||||
assert_equal Lexer['Scheme'], Language['Emacs Lisp'].lexer
|
assert_equal Lexer['Scheme'], Language['Emacs Lisp'].lexer
|
||||||
assert_equal Lexer['Erlang'], Language['Erlang'].lexer
|
assert_equal Lexer['Erlang'], Language['Erlang'].lexer
|
||||||
assert_equal Lexer['OCaml'], Language['F#'].lexer
|
assert_equal Lexer['OCaml'], Language['F#'].lexer
|
||||||
# assert_equal Lexer['Factor'], Language['Factor'].lexer
|
assert_equal Lexer['Factor'], Language['Factor'].lexer
|
||||||
assert_equal Lexer['Fortran'], Language['FORTRAN'].lexer
|
assert_equal Lexer['Fortran'], Language['FORTRAN'].lexer
|
||||||
assert_equal Lexer['GAS'], Language['GAS'].lexer
|
assert_equal Lexer['GAS'], Language['GAS'].lexer
|
||||||
assert_equal Lexer['Genshi'], Language['Genshi'].lexer
|
assert_equal Lexer['Genshi'], Language['Genshi'].lexer
|
||||||
@@ -283,7 +283,7 @@ class TestLanguage < Test::Unit::TestCase
|
|||||||
assert_equal Lexer['VimL'], Language['VimL'].lexer
|
assert_equal Lexer['VimL'], Language['VimL'].lexer
|
||||||
assert_equal Lexer['Text only'], Language['Visual Basic'].lexer
|
assert_equal Lexer['Text only'], Language['Visual Basic'].lexer
|
||||||
assert_equal Lexer['XML'], Language['XML'].lexer
|
assert_equal Lexer['XML'], Language['XML'].lexer
|
||||||
# assert_equal Lexer['XQuery'], Language['XQuery'].lexer
|
assert_equal Lexer['XQuery'], Language['XQuery'].lexer
|
||||||
assert_equal Lexer['C'], Language['XS'].lexer
|
assert_equal Lexer['C'], Language['XS'].lexer
|
||||||
assert_equal Lexer['YAML'], Language['YAML'].lexer
|
assert_equal Lexer['YAML'], Language['YAML'].lexer
|
||||||
assert_equal Lexer['Java Server Page'], Language['Java Server Pages'].lexer
|
assert_equal Lexer['Java Server Page'], Language['Java Server Pages'].lexer
|
||||||
|
|||||||
@@ -39,9 +39,9 @@ class TestLexer < Test::Unit::TestCase
|
|||||||
end
|
end
|
||||||
|
|
||||||
def test_aliases
|
def test_aliases
|
||||||
assert_equal ['rb', 'ruby'], Lexer['Ruby'].aliases
|
assert_equal ['rb', 'ruby', 'duby'], Lexer['Ruby'].aliases
|
||||||
assert_equal ['python', 'py'], Lexer['Python'].aliases
|
assert_equal ['python', 'py'], Lexer['Python'].aliases
|
||||||
assert_equal ['perl', 'pl'], Lexer['Perl'].aliases
|
assert_equal ['perl', 'pl'], Lexer['Perl'].aliases
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_eql
|
def test_eql
|
||||||
|
|||||||
Reference in New Issue
Block a user