files changed due to a new commit in github/linguist

This commit is contained in:
Manuel Carmona 2017-05-18 10:39:38 +02:00
parent 3d867abac3
commit a63c8bdf81
6 changed files with 78 additions and 41 deletions

View File

@ -107,6 +107,7 @@ var languagesByAlias = map[string]string{
"clipper": "xBase",
"clips": "CLIPS",
"clojure": "Clojure",
"closure_templates": "Closure Templates",
"cmake": "CMake",
"cobol": "COBOL",
"coffee": "CoffeeScript",
@ -137,6 +138,7 @@ var languagesByAlias = map[string]string{
"csv": "CSV",
"cucumber": "Gherkin",
"cuda": "Cuda",
"cweb": "CWeb",
"cycript": "Cycript",
"cython": "Cython",
"d": "D",
@ -281,6 +283,7 @@ var languagesByAlias = map[string]string{
"jflex": "JFlex",
"jison": "Jison",
"jison_lex": "Jison Lex",
"jolie": "Jolie",
"jruby": "Ruby",
"js": "JavaScript",
"json": "JSON",
@ -433,6 +436,7 @@ var languagesByAlias = map[string]string{
"pascal": "Pascal",
"pasm": "Parrot Assembly",
"pawn": "PAWN",
"pep8": "Pep8",
"perl": "Perl",
"perl6": "Perl6",
"php": "PHP",
@ -529,6 +533,7 @@ var languagesByAlias = map[string]string{
"scss": "SCSS",
"self": "Self",
"sh": "Shell",
"shaderlab": "ShaderLab",
"shell": "Shell",
"shell-script": "Shell",
"shellsession": "ShellSession",

View File

@ -117,8 +117,8 @@ var matchers = map[string]languageMatcher{
return "Forth", true
} else if f_FilebenchWML_Matcher_0.Match(i) {
return "Filebench WML", true
} else if f_FORTRAN_Matcher_0.Match(i) {
return "FORTRAN", true
} else if f_Fortran_Matcher_0.Match(i) {
return "Fortran", true
}
return OtherLanguage, false
@ -126,8 +126,8 @@ var matchers = map[string]languageMatcher{
".for": func(i []byte) (string, bool) {
if for_Forth_Matcher_0.Match(i) {
return "Forth", true
} else if for_FORTRAN_Matcher_0.Match(i) {
return "FORTRAN", true
} else if for_Fortran_Matcher_0.Match(i) {
return "Fortran", true
}
return OtherLanguage, false
@ -184,8 +184,8 @@ var matchers = map[string]languageMatcher{
return "Common Lisp", true
} else if l_Lex_Matcher_0.Match(i) {
return "Lex", true
} else if l_Groff_Matcher_0.Match(i) {
return "Groff", true
} else if l_Roff_Matcher_0.Match(i) {
return "Roff", true
} else if l_PicoLisp_Matcher_0.Match(i) {
return "PicoLisp", true
}
@ -239,8 +239,8 @@ var matchers = map[string]languageMatcher{
".md": func(i []byte) (string, bool) {
if md_Markdown_Matcher_0.Match(i) || md_Markdown_Matcher_1.Match(i) {
return "Markdown", true
} else if md_GCCmachinedescription_Matcher_0.Match(i) {
return "GCC machine description", true
} else if md_GCCMachineDescription_Matcher_0.Match(i) {
return "GCC Machine Description", true
}
return "Markdown", true
@ -264,15 +264,15 @@ var matchers = map[string]languageMatcher{
return "Linux Kernel Module", false
},
".ms": func(i []byte) (string, bool) {
if ms_Groff_Matcher_0.Match(i) {
return "Groff", true
if ms_Roff_Matcher_0.Match(i) {
return "Roff", true
}
return "MAXScript", true
},
".n": func(i []byte) (string, bool) {
if n_Groff_Matcher_0.Match(i) {
return "Groff", true
if n_Roff_Matcher_0.Match(i) {
return "Roff", true
} else if n_Nemerle_Matcher_0.Match(i) {
return "Nemerle", true
}
@ -314,19 +314,10 @@ var matchers = map[string]languageMatcher{
return OtherLanguage, false
},
".pm": func(i []byte) (string, bool) {
if pm_Perl_Matcher_0.Match(i) {
return "Perl", true
} else if pm_Perl6_Matcher_0.Match(i) {
if pm_Perl6_Matcher_0.Match(i) {
return "Perl6", true
}
return OtherLanguage, false
},
".t": func(i []byte) (string, bool) {
if t_Perl_Matcher_0.Match(i) {
} else if pm_Perl_Matcher_0.Match(i) {
return "Perl", true
} else if t_Perl6_Matcher_0.Match(i) {
return "Perl6", true
}
return OtherLanguage, false
@ -372,8 +363,8 @@ var matchers = map[string]languageMatcher{
".rno": func(i []byte) (string, bool) {
if rno_RUNOFF_Matcher_0.Match(i) {
return "RUNOFF", true
} else if rno_Groff_Matcher_0.Match(i) {
return "Groff", true
} else if rno_Roff_Matcher_0.Match(i) {
return "Roff", true
}
return OtherLanguage, false
@ -423,6 +414,17 @@ var matchers = map[string]languageMatcher{
return OtherLanguage, false
},
".t": func(i []byte) (string, bool) {
if t_Turing_Matcher_0.Match(i) {
return "Turing", true
} else if t_Perl6_Matcher_0.Match(i) {
return "Perl6", true
} else if t_Perl_Matcher_0.Match(i) {
return "Perl", true
}
return OtherLanguage, false
},
".toc": func(i []byte) (string, bool) {
if toc_WorldofWarcraftAddonData_Matcher_0.Match(i) {
return "World of Warcraft Addon Data", true
@ -481,9 +483,9 @@ var (
es_Erlang_Matcher_0 = regexp.MustCompile(`(?m)^\s*(?:%%|main\s*\(.*?\)\s*->)`)
f_Forth_Matcher_0 = regexp.MustCompile(`(?m)^: `)
f_FilebenchWML_Matcher_0 = regexp.MustCompile(`(?m)flowop`)
f_FORTRAN_Matcher_0 = regexp.MustCompile(`(?mi)^([c*][^abd-z]| (subroutine|program|end|data)\s|\s*!)`)
f_Fortran_Matcher_0 = regexp.MustCompile(`(?mi)^([c*][^abd-z]| (subroutine|program|end|data)\s|\s*!)`)
for_Forth_Matcher_0 = regexp.MustCompile(`(?m)^: `)
for_FORTRAN_Matcher_0 = regexp.MustCompile(`(?mi)^([c*][^abd-z]| (subroutine|program|end|data)\s|\s*!)`)
for_Fortran_Matcher_0 = regexp.MustCompile(`(?mi)^([c*][^abd-z]| (subroutine|program|end|data)\s|\s*!)`)
fr_Forth_Matcher_0 = regexp.MustCompile(`(?m)^(: |also |new-device|previous )`)
fr_Frege_Matcher_0 = regexp.MustCompile(`(?m)^\s*(import|module|package|data|type) `)
fs_Forth_Matcher_0 = regexp.MustCompile(`(?m)^(: |new-device)`)
@ -503,7 +505,7 @@ var (
inc_POVDashRaySDL_Matcher_0 = regexp.MustCompile(`(?m)^\s*#(declare|local|macro|while)\s`)
l_CommonLisp_Matcher_0 = regexp.MustCompile(`(?m)\(def(un|macro)\s`)
l_Lex_Matcher_0 = regexp.MustCompile(`(?m)^(%[%{}]xs|<.*>)`)
l_Groff_Matcher_0 = regexp.MustCompile(`(?mi)^\.[a-z][a-z](\s|$)`)
l_Roff_Matcher_0 = regexp.MustCompile(`(?mi)^\.[a-z][a-z](\s|$)`)
l_PicoLisp_Matcher_0 = regexp.MustCompile(`(?m)^\((de|class|rel|code|data|must)\s`)
ls_LoomScript_Matcher_0 = regexp.MustCompile(`(?m)^\s*package\s*[\w\.\/\*\s]*\s*{`)
lsp_CommonLisp_Matcher_0 = regexp.MustCompile(`(?mi)^\s*\((defun|in-package|defpackage) `)
@ -519,14 +521,14 @@ var (
m_Limbo_Matcher_0 = regexp.MustCompile(`(?m)^\w+\s*:\s*module\s*{`)
md_Markdown_Matcher_0 = regexp.MustCompile(`(?mi)(^[-a-z0-9=#!\*\[|>])|<\/`)
md_Markdown_Matcher_1 = regexp.MustCompile(`(?m)^$`)
md_GCCmachinedescription_Matcher_0 = regexp.MustCompile(`(?m)^(;;|\(define_)`)
md_GCCMachineDescription_Matcher_0 = regexp.MustCompile(`(?m)^(;;|\(define_)`)
ml_OCaml_Matcher_0 = regexp.MustCompile(`(?m)(^\s*module)|let rec |match\s+(\S+\s)+with`)
ml_StandardML_Matcher_0 = regexp.MustCompile(`(?m)=> |case\s+(\S+\s)+of`)
mod_XML_Matcher_0 = regexp.MustCompile(`(?m)<!ENTITY `)
mod_ModulaDash2_Matcher_0 = regexp.MustCompile(`(?mi)^\s*MODULE [\w\.]+;`)
mod_ModulaDash2_Matcher_1 = regexp.MustCompile(`(?mi)^\s*END [\w\.]+;`)
ms_Groff_Matcher_0 = regexp.MustCompile(`(?mi)^[.'][a-z][a-z](\s|$)`)
n_Groff_Matcher_0 = regexp.MustCompile(`(?m)^[.']`)
ms_Roff_Matcher_0 = regexp.MustCompile(`(?mi)^[.'][a-z][a-z](\s|$)`)
n_Roff_Matcher_0 = regexp.MustCompile(`(?m)^[.']`)
n_Nemerle_Matcher_0 = regexp.MustCompile(`(?m)^(module|namespace|using)\s`)
ncl_Text_Matcher_0 = regexp.MustCompile(`(?m)THE_TITLE`)
nl_NL_Matcher_0 = regexp.MustCompile(`(?m)^(b|g)[0-9]+ `)
@ -535,10 +537,8 @@ var (
pl_Prolog_Matcher_0 = regexp.MustCompile(`(?m)^[^#]*:-`)
pl_Perl_Matcher_0 = regexp.MustCompile(`(?m)use strict|use\s+v?5\.`)
pl_Perl6_Matcher_0 = regexp.MustCompile(`(?m)^(use v6|(my )?class|module)`)
pm_Perl_Matcher_0 = regexp.MustCompile(`(?m)use strict|use\s+v?5\.`)
pm_Perl6_Matcher_0 = regexp.MustCompile(`(?m)^(use v6|(my )?class|module)`)
t_Perl_Matcher_0 = regexp.MustCompile(`(?m)use strict|use\s+v?5\.`)
t_Perl6_Matcher_0 = regexp.MustCompile(`(?m)^(use v6|(my )?class|module)`)
pm_Perl6_Matcher_0 = regexp.MustCompile(`(?m)^\s*(?:use\s+v6\s*;|(?:\bmy\s+)?class|module)\b`)
pm_Perl_Matcher_0 = regexp.MustCompile(`(?m)\buse\s+(?:strict\b|v?5\.)`)
pod_Pod_Matcher_0 = regexp.MustCompile(`(?m)^=\w+\b`)
pro_Prolog_Matcher_0 = regexp.MustCompile(`(?m)^[^#]+:-`)
pro_INI_Matcher_0 = regexp.MustCompile(`(?m)last_client=`)
@ -550,7 +550,7 @@ var (
r_Rebol_Matcher_0 = regexp.MustCompile(`(?mi)\bRebol\b`)
r_R_Matcher_0 = regexp.MustCompile(`(?m)<-|^\s*#`)
rno_RUNOFF_Matcher_0 = regexp.MustCompile(`(?mi)^\.!|^\.end lit(?:eral)?\b`)
rno_Groff_Matcher_0 = regexp.MustCompile(`(?m)^\.\\" `)
rno_Roff_Matcher_0 = regexp.MustCompile(`(?m)^\.\\" `)
rpy_Python_Matcher_0 = regexp.MustCompile(`(?ms)(^(import|from|class|def)\s)`)
rs_Rust_Matcher_0 = regexp.MustCompile(`(?m)^(use |fn |mod |pub |macro_rules|impl|#!?\[)`)
rs_RenderScript_Matcher_0 = regexp.MustCompile(`(?m)#include|#pragma\s+(rs|version)|__attribute__`)
@ -569,6 +569,9 @@ var (
sql_PLSQL_Matcher_1 = regexp.MustCompile(`(?mi)constructor\W+function`)
sql_SQL_Matcher_0 = regexp.MustCompile(`(?mi)! /begin|boolean|package|exception`)
srt_SubRipText_Matcher_0 = regexp.MustCompile(`(?m)^(\d{2}:\d{2}:\d{2},\d{3})\s*(-->)\s*(\d{2}:\d{2}:\d{2},\d{3})$`)
t_Turing_Matcher_0 = regexp.MustCompile(`(?m)^\s*%[ \t]+|^\s*var\s+\w+\s*:=\s*\w+`)
t_Perl6_Matcher_0 = regexp.MustCompile(`(?m)^\s*(?:use\s+v6\s*;|\bmodule\b|\b(?:my\s+)?class\b)`)
t_Perl_Matcher_0 = regexp.MustCompile(`(?m)\buse\s+(?:strict\b|v?5\.)`)
toc_WorldofWarcraftAddonData_Matcher_0 = regexp.MustCompile(`(?m)^## |@no-lib-strip@`)
toc_TeX_Matcher_0 = regexp.MustCompile(`(?m)^\\(contentsline|defcounter|beamer|boolfalse)`)
ts_XML_Matcher_0 = regexp.MustCompile(`(?m)<TS`)

View File

@ -39,6 +39,8 @@ var languagesByExtension = map[string][]string{
".abnf": {"ABNF"},
".ada": {"Ada"},
".adb": {"Ada"},
".adml": {"XML"},
".admx": {"XML"},
".ado": {"Stata"},
".adoc": {"AsciiDoc"},
".adp": {"Tcl"},
@ -94,6 +96,7 @@ var languagesByExtension = map[string][]string{
".bats": {"Shell"},
".bb": {"BitBake", "BlitzBasic"},
".bbx": {"TeX"},
".bdy": {"PLSQL"},
".befunge": {"Befunge"},
".bf": {"Brainfuck", "HyPhy"},
".bib": {"TeX"},
@ -132,6 +135,7 @@ var languagesByExtension = map[string][]string{
".cfm": {"ColdFusion"},
".cfml": {"ColdFusion"},
".cgi": {"Perl", "Python", "Shell"},
".cginc": {"HLSL"},
".ch": {"Charity", "xBase"},
".chem": {"Pic"},
".chpl": {"Chapel"},
@ -197,7 +201,7 @@ var languagesByExtension = map[string][]string{
".dats": {"ATS"},
".db2": {"SQLPL"},
".dcl": {"Clean"},
".ddl": {"SQL"},
".ddl": {"PLSQL", "SQL"},
".decls": {"BlitzBasic"},
".desktop": {"desktop"},
".desktop.in": {"desktop"},
@ -273,6 +277,7 @@ var languagesByExtension = map[string][]string{
".fish": {"fish"},
".flex": {"JFlex"},
".flux": {"FLUX"},
".fnc": {"PLSQL"},
".for": {"Formatted", "Forth", "Fortran"},
".forth": {"Forth"},
".fp": {"GLSL"},
@ -385,10 +390,10 @@ var languagesByExtension = map[string][]string{
".ins": {"TeX"},
".intr": {"Dylan"},
".io": {"Io"},
".iol": {"Jolie"},
".ipf": {"IGOR Pro"},
".ipp": {"C++"},
".ipynb": {"Jupyter Notebook"},
".irbrc": {"Ruby"},
".irclog": {"IRC log"},
".iss": {"Inno Setup"},
".ivy": {"XML"},
@ -494,6 +499,7 @@ var languagesByExtension = map[string][]string{
".minid": {"MiniD"},
".mir": {"Mirah"},
".mirah": {"Mirah"},
".mjml": {"XML"},
".mk": {"Makefile"},
".mkd": {"Markdown"},
".mkdn": {"Markdown"},
@ -554,6 +560,7 @@ var languagesByExtension = map[string][]string{
".no": {"Text"},
".nproj": {"XML"},
".nqp": {"Perl6"},
".nr": {"Roff"},
".nse": {"Lua"},
".nsh": {"NSIS"},
".nsi": {"NSIS"},
@ -567,6 +574,7 @@ var languagesByExtension = map[string][]string{
".obj": {"Wavefront Object"},
".objdump": {"ObjDump"},
".odd": {"XML"},
".ol": {"Jolie"},
".omgrofl": {"Omgrofl"},
".ooc": {"ooc"},
".opa": {"Opa"},
@ -602,6 +610,7 @@ var languagesByExtension = map[string][]string{
".pd": {"Pure Data"},
".pd_lua": {"Lua"},
".pde": {"Processing"},
".pep": {"Pep8"},
".perl": {"Perl"},
".ph": {"Perl"},
".php": {"Hack", "PHP"},
@ -642,7 +651,7 @@ var languagesByExtension = map[string][]string{
".pov": {"POV-Ray SDL"},
".pp": {"Pascal", "Puppet"},
".pprx": {"REXX"},
".prc": {"SQL"},
".prc": {"PLSQL", "SQL"},
".prefab": {"Unity3D Asset"},
".prefs": {"INI"},
".prg": {"xBase"},
@ -671,6 +680,7 @@ var languagesByExtension = map[string][]string{
".py": {"Python"},
".py3": {"Python"},
".pyde": {"Python"},
".pyi": {"Python"},
".pyp": {"Python"},
".pyt": {"Python"},
".pytb": {"Python traceback"},
@ -766,7 +776,7 @@ var languagesByExtension = map[string][]string{
".sh": {"Shell"},
".sh-session": {"ShellSession"},
".sh.in": {"Shell"},
".shader": {"GLSL"},
".shader": {"GLSL", "ShaderLab"},
".shen": {"Shen"},
".sig": {"Standard ML"},
".sj": {"Objective-J"},
@ -780,8 +790,10 @@ var languagesByExtension = map[string][]string{
".sml": {"Standard ML"},
".smt": {"SMT"},
".smt2": {"SMT"},
".soy": {"Closure Templates"},
".sp": {"SourcePawn"},
".sparql": {"SPARQL"},
".spc": {"PLSQL"},
".spec": {"Python", "RPM Spec", "Ruby"},
".spin": {"Propeller Spin"},
".sps": {"Scheme"},
@ -830,6 +842,8 @@ var languagesByExtension = map[string][]string{
".tcl": {"Tcl"},
".tcsh": {"Tcsh"},
".tea": {"Tea"},
".tesc": {"GLSL"},
".tese": {"GLSL"},
".tex": {"TeX"},
".textile": {"Textile"},
".tf": {"HCL"},
@ -850,8 +864,11 @@ var languagesByExtension = map[string][]string{
".toml": {"TOML"},
".tool": {"Shell"},
".topojson": {"JSON"},
".tpb": {"PLSQL"},
".tpl": {"Smarty"},
".tpp": {"C++"},
".tps": {"PLSQL"},
".trg": {"PLSQL"},
".ts": {"TypeScript", "XML"},
".tst": {"GAP", "Scilab"},
".tsx": {"TypeScript", "XML"},
@ -901,10 +918,13 @@ var languagesByExtension = map[string][]string{
".vrx": {"GLSL"},
".vsh": {"GLSL"},
".vshader": {"GLSL"},
".vsixmanifest": {"XML"},
".vssettings": {"XML"},
".vstemplate": {"XML"},
".vue": {"Vue"},
".vw": {"PLSQL"},
".vxml": {"XML"},
".w": {"C"},
".w": {"CWeb"},
".watchr": {"Ruby"},
".webidl": {"WebIDL"},
".weechatlog": {"IRC log"},
@ -914,6 +934,7 @@ var languagesByExtension = map[string][]string{
".wl": {"Mathematica"},
".wlt": {"Mathematica"},
".wlua": {"Lua"},
".workbook": {"Markdown"},
".wsdl": {"XML"},
".wsf": {"XML"},
".wsgi": {"Python"},

View File

@ -22,6 +22,7 @@ var languagesByFilename = map[string]string{
".factor-rc": "Factor",
".gclient": "Python",
".gnus": "Emacs Lisp",
".irbrc": "Ruby",
".jshintrc": "JSON",
".nvimrc": "Vim script",
".php_cs": "PHP",
@ -85,6 +86,7 @@ var languagesByFilename = map[string]string{
"README.me": "Text",
"README.mysql": "Text",
"ROOT": "Isabelle ROOT",
"Rakefile": "Ruby",
"Rexfile": "Perl6",
"SConscript": "Python",
"SConstruct": "Python",

View File

@ -36,6 +36,7 @@ var languagesByInterpreter = map[string][]string{
"io": {"Io"},
"ioke": {"Ioke"},
"jconsole": {"J"},
"jolie": {"Jolie"},
"jruby": {"Ruby"},
"julia": {"Julia"},
"lisp": {"Common Lisp"},

View File

@ -59,6 +59,7 @@ var languagesType = map[string]Type{
"CSON": Data,
"CSS": Markup,
"CSV": Data,
"CWeb": Programming,
"Cap'n Proto": Programming,
"CartoCSS": Programming,
"Ceylon": Programming,
@ -70,6 +71,7 @@ var languagesType = map[string]Type{
"Clean": Programming,
"Click": Programming,
"Clojure": Programming,
"Closure Templates": Markup,
"CoffeeScript": Programming,
"ColdFusion": Programming,
"ColdFusion CFC": Programming,
@ -193,6 +195,7 @@ var languagesType = map[string]Type{
"JavaScript": Programming,
"Jison": Programming,
"Jison Lex": Programming,
"Jolie": Programming,
"Julia": Programming,
"Jupyter Notebook": Markup,
"KRL": Programming,
@ -297,6 +300,7 @@ var languagesType = map[string]Type{
"Parrot Assembly": Programming,
"Parrot Internal Representation": Programming,
"Pascal": Programming,
"Pep8": Programming,
"Perl": Programming,
"Perl6": Programming,
"Pic": Markup,
@ -368,6 +372,7 @@ var languagesType = map[string]Type{
"Scheme": Programming,
"Scilab": Programming,
"Self": Programming,
"ShaderLab": Programming,
"Shell": Programming,
"ShellSession": Programming,
"Shen": Programming,