Added missing languages to refractor type definitions (#46569)

* Added missing languages to refractor type definitions

Matched languages found on https://github.com/PrismJS/prism/tree/master/components using `ls -A1 | egrep "prism-[0-9a-z-]+\.js”`.

* Removed core which isn’t a language

Language count (226) now matches https://prismjs.com/#supported-languages

* Added missing languages to OTHER_FILES.txt

* Removed markdown from OTHER_FILES.txt
This commit is contained in:
Sun Knudsen 2020-08-31 07:39:22 +00:00 committed by GitHub
parent 3dcab43831
commit 57d6449b1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
52 changed files with 202 additions and 2 deletions

View File

@ -2,9 +2,13 @@ lang/abap.d.ts
lang/abnf.d.ts
lang/actionscript.d.ts
lang/ada.d.ts
lang/agda.d.ts
lang/al.d.ts
lang/antlr4.d.ts
lang/apacheconf.d.ts
lang/apl.d.ts
lang/applescript.d.ts
lang/aql.d.ts
lang/arduino.d.ts
lang/arff.d.ts
lang/asciidoc.d.ts
@ -15,9 +19,11 @@ lang/autoit.d.ts
lang/bash.d.ts
lang/basic.d.ts
lang/batch.d.ts
lang/bbcode.d.ts
lang/bison.d.ts
lang/bnf.d.ts
lang/brainfuck.d.ts
lang/brightscript.d.ts
lang/bro.d.ts
lang/c.d.ts
lang/cil.d.ts
@ -25,28 +31,40 @@ lang/clike.d.ts
lang/clojure.d.ts
lang/cmake.d.ts
lang/coffeescript.d.ts
lang/concurnas.d.ts
lang/cpp.d.ts
lang/crystal.d.ts
lang/csharp.d.ts
lang/csp.d.ts
lang/css-extras.d.ts
lang/css.d.ts
lang/cypher.d.ts
lang/d.d.ts
lang/dart.d.ts
lang/dax.d.ts
lang/dhall.d.ts
lang/diff.d.ts
lang/django.d.ts
lang/dns-zone-file.d.ts
lang/docker.d.ts
lang/ebnf.d.ts
lang/editorconfig.d.ts
lang/eiffel.d.ts
lang/ejs.d.ts
lang/elixir.d.ts
lang/elm.d.ts
lang/erb.d.ts
lang/erlang.d.ts
lang/etlua.d.ts
lang/excel-formula.d.ts
lang/factor.d.ts
lang/firestore-security-rules.d.ts
lang/flow.d.ts
lang/fortran.d.ts
lang/fsharp.d.ts
lang/ftl.d.ts
lang/gcode.d.ts
lang/gdscript.d.ts
lang/gedcom.d.ts
lang/gherkin.d.ts
lang/git.d.ts
@ -60,11 +78,14 @@ lang/handlebars.d.ts
lang/haskell.d.ts
lang/haxe.d.ts
lang/hcl.d.ts
lang/hlsl.d.ts
lang/hpkp.d.ts
lang/hsts.d.ts
lang/http.d.ts
lang/ichigojam.d.ts
lang/icon.d.ts
lang/iecst.d.ts
lang/ignore.d.ts
lang/inform7.d.ts
lang/ini.d.ts
lang/io.d.ts
@ -75,20 +96,26 @@ lang/javadoclike.d.ts
lang/javascript.d.ts
lang/javastacktrace.d.ts
lang/jolie.d.ts
lang/jq.d.ts
lang/js-extras.d.ts
lang/js-templates.d.ts
lang/jsdoc.d.ts
lang/json.d.ts
lang/json5.d.ts
lang/jsonp.d.ts
lang/jsstacktrace.d.ts
lang/jsx.d.ts
lang/julia.d.ts
lang/keyman.d.ts
lang/kotlin.d.ts
lang/latex.d.ts
lang/latte.d.ts
lang/less.d.ts
lang/lilypond.d.ts
lang/liquid.d.ts
lang/lisp.d.ts
lang/livescript.d.ts
lang/llvm.d.ts
lang/lolcode.d.ts
lang/lua.d.ts
lang/makefile.d.ts
@ -98,10 +125,12 @@ lang/matlab.d.ts
lang/mel.d.ts
lang/mizar.d.ts
lang/monkey.d.ts
lang/moonscript.d.ts
lang/n1ql.d.ts
lang/n4js.d.ts
lang/nand2tetris-hdl.d.ts
lang/nasm.d.ts
lang/neon.d.ts
lang/nginx.d.ts
lang/nim.d.ts
lang/nix.d.ts
@ -113,11 +142,15 @@ lang/oz.d.ts
lang/parigp.d.ts
lang/parser.d.ts
lang/pascal.d.ts
lang/pascaligo.d.ts
lang/pcaxis.d.ts
lang/peoplecode.d.ts
lang/perl.d.ts
lang/php-extras.d.ts
lang/php.d.ts
lang/phpdoc.d.ts
lang/plsql.d.ts
lang/powerquery.d.ts
lang/powershell.d.ts
lang/processing.d.ts
lang/prolog.d.ts
@ -126,16 +159,20 @@ lang/protobuf.d.ts
lang/pug.d.ts
lang/puppet.d.ts
lang/pure.d.ts
lang/purebasic.d.ts
lang/python.d.ts
lang/q.d.ts
lang/qml.d.ts
lang/qore.d.ts
lang/r.d.ts
lang/racket.d.ts
lang/reason.d.ts
lang/regex.d.ts
lang/renpy.d.ts
lang/rest.d.ts
lang/rip.d.ts
lang/roboconf.d.ts
lang/robotframework.d.ts
lang/ruby.d.ts
lang/rust.d.ts
lang/sas.d.ts
@ -143,9 +180,16 @@ lang/sass.d.ts
lang/scala.d.ts
lang/scheme.d.ts
lang/scss.d.ts
lang/shell-session.d.ts
lang/smali.d.ts
lang/smalltalk.d.ts
lang/smarty.d.ts
lang/solidity.d.ts
lang/solution-file.d.ts
lang/soy.d.ts
lang/sparql.d.ts
lang/splunk-spl.d.ts
lang/sqf.d.ts
lang/sql.d.ts
lang/stylus.d.ts
lang/swift.d.ts
@ -158,8 +202,10 @@ lang/textile.d.ts
lang/toml.d.ts
lang/tsx.d.ts
lang/tt2.d.ts
lang/turtle.d.ts
lang/twig.d.ts
lang/typescript.d.ts
lang/unrealscript.d.ts
lang/vala.d.ts
lang/vbnet.d.ts
lang/velocity.d.ts
@ -167,9 +213,13 @@ lang/verilog.d.ts
lang/vhdl.d.ts
lang/vim.d.ts
lang/visual-basic.d.ts
lang/warpscript.d.ts
lang/wasm.d.ts
lang/wiki.d.ts
lang/xeora.d.ts
lang/xml-doc.d.ts
lang/xojo.d.ts
lang/xquery.d.ts
lang/yaml.d.ts
lang/yaml.d.ts
lang/yang.d.ts
lang/zig.d.ts

View File

@ -1,4 +1,4 @@
// Type definitions for refractor 2.8
// Type definitions for refractor 3.0
// Project: https://github.com/wooorm/refractor#readme
// Definitions by: Ifiok Jr. <https://github.com/ifiokjr>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

3
types/refractor/lang/agda.d.ts vendored Normal file
View File

@ -0,0 +1,3 @@
import { RefractorSyntax } from '../core';
declare const lang: RefractorSyntax;
export = lang;

3
types/refractor/lang/al.d.ts vendored Normal file
View File

@ -0,0 +1,3 @@
import { RefractorSyntax } from '../core';
declare const lang: RefractorSyntax;
export = lang;

3
types/refractor/lang/antlr4.d.ts vendored Normal file
View File

@ -0,0 +1,3 @@
import { RefractorSyntax } from '../core';
declare const lang: RefractorSyntax;
export = lang;

3
types/refractor/lang/aql.d.ts vendored Normal file
View File

@ -0,0 +1,3 @@
import { RefractorSyntax } from '../core';
declare const lang: RefractorSyntax;
export = lang;

3
types/refractor/lang/bbcode.d.ts vendored Normal file
View File

@ -0,0 +1,3 @@
import { RefractorSyntax } from '../core';
declare const lang: RefractorSyntax;
export = lang;

View File

@ -0,0 +1,3 @@
import { RefractorSyntax } from '../core';
declare const lang: RefractorSyntax;
export = lang;

3
types/refractor/lang/concurnas.d.ts vendored Normal file
View File

@ -0,0 +1,3 @@
import { RefractorSyntax } from '../core';
declare const lang: RefractorSyntax;
export = lang;

3
types/refractor/lang/cypher.d.ts vendored Normal file
View File

@ -0,0 +1,3 @@
import { RefractorSyntax } from '../core';
declare const lang: RefractorSyntax;
export = lang;

3
types/refractor/lang/dax.d.ts vendored Normal file
View File

@ -0,0 +1,3 @@
import { RefractorSyntax } from '../core';
declare const lang: RefractorSyntax;
export = lang;

3
types/refractor/lang/dhall.d.ts vendored Normal file
View File

@ -0,0 +1,3 @@
import { RefractorSyntax } from '../core';
declare const lang: RefractorSyntax;
export = lang;

View File

@ -0,0 +1,3 @@
import { RefractorSyntax } from '../core';
declare const lang: RefractorSyntax;
export = lang;

View File

@ -0,0 +1,3 @@
import { RefractorSyntax } from '../core';
declare const lang: RefractorSyntax;
export = lang;

3
types/refractor/lang/etlua.d.ts vendored Normal file
View File

@ -0,0 +1,3 @@
import { RefractorSyntax } from '../core';
declare const lang: RefractorSyntax;
export = lang;

View File

@ -0,0 +1,3 @@
import { RefractorSyntax } from '../core';
declare const lang: RefractorSyntax;
export = lang;

3
types/refractor/lang/factor.d.ts vendored Normal file
View File

@ -0,0 +1,3 @@
import { RefractorSyntax } from '../core';
declare const lang: RefractorSyntax;
export = lang;

View File

@ -0,0 +1,3 @@
import { RefractorSyntax } from '../core';
declare const lang: RefractorSyntax;
export = lang;

3
types/refractor/lang/ftl.d.ts vendored Normal file
View File

@ -0,0 +1,3 @@
import { RefractorSyntax } from '../core';
declare const lang: RefractorSyntax;
export = lang;

3
types/refractor/lang/gdscript.d.ts vendored Normal file
View File

@ -0,0 +1,3 @@
import { RefractorSyntax } from '../core';
declare const lang: RefractorSyntax;
export = lang;

3
types/refractor/lang/hlsl.d.ts vendored Normal file
View File

@ -0,0 +1,3 @@
import { RefractorSyntax } from '../core';
declare const lang: RefractorSyntax;
export = lang;

3
types/refractor/lang/iecst.d.ts vendored Normal file
View File

@ -0,0 +1,3 @@
import { RefractorSyntax } from '../core';
declare const lang: RefractorSyntax;
export = lang;

3
types/refractor/lang/ignore.d.ts vendored Normal file
View File

@ -0,0 +1,3 @@
import { RefractorSyntax } from '../core';
declare const lang: RefractorSyntax;
export = lang;

3
types/refractor/lang/jq.d.ts vendored Normal file
View File

@ -0,0 +1,3 @@
import { RefractorSyntax } from '../core';
declare const lang: RefractorSyntax;
export = lang;

View File

@ -0,0 +1,3 @@
import { RefractorSyntax } from '../core';
declare const lang: RefractorSyntax;
export = lang;

View File

@ -0,0 +1,3 @@
import { RefractorSyntax } from '../core';
declare const lang: RefractorSyntax;
export = lang;

3
types/refractor/lang/latte.d.ts vendored Normal file
View File

@ -0,0 +1,3 @@
import { RefractorSyntax } from '../core';
declare const lang: RefractorSyntax;
export = lang;

3
types/refractor/lang/lilypond.d.ts vendored Normal file
View File

@ -0,0 +1,3 @@
import { RefractorSyntax } from '../core';
declare const lang: RefractorSyntax;
export = lang;

3
types/refractor/lang/llvm.d.ts vendored Normal file
View File

@ -0,0 +1,3 @@
import { RefractorSyntax } from '../core';
declare const lang: RefractorSyntax;
export = lang;

3
types/refractor/lang/moonscript.d.ts vendored Normal file
View File

@ -0,0 +1,3 @@
import { RefractorSyntax } from '../core';
declare const lang: RefractorSyntax;
export = lang;

3
types/refractor/lang/neon.d.ts vendored Normal file
View File

@ -0,0 +1,3 @@
import { RefractorSyntax } from '../core';
declare const lang: RefractorSyntax;
export = lang;

3
types/refractor/lang/pascaligo.d.ts vendored Normal file
View File

@ -0,0 +1,3 @@
import { RefractorSyntax } from '../core';
declare const lang: RefractorSyntax;
export = lang;

3
types/refractor/lang/pcaxis.d.ts vendored Normal file
View File

@ -0,0 +1,3 @@
import { RefractorSyntax } from '../core';
declare const lang: RefractorSyntax;
export = lang;

3
types/refractor/lang/peoplecode.d.ts vendored Normal file
View File

@ -0,0 +1,3 @@
import { RefractorSyntax } from '../core';
declare const lang: RefractorSyntax;
export = lang;

3
types/refractor/lang/powerquery.d.ts vendored Normal file
View File

@ -0,0 +1,3 @@
import { RefractorSyntax } from '../core';
declare const lang: RefractorSyntax;
export = lang;

3
types/refractor/lang/purebasic.d.ts vendored Normal file
View File

@ -0,0 +1,3 @@
import { RefractorSyntax } from '../core';
declare const lang: RefractorSyntax;
export = lang;

3
types/refractor/lang/qml.d.ts vendored Normal file
View File

@ -0,0 +1,3 @@
import { RefractorSyntax } from '../core';
declare const lang: RefractorSyntax;
export = lang;

3
types/refractor/lang/racket.d.ts vendored Normal file
View File

@ -0,0 +1,3 @@
import { RefractorSyntax } from '../core';
declare const lang: RefractorSyntax;
export = lang;

View File

@ -0,0 +1,3 @@
import { RefractorSyntax } from '../core';
declare const lang: RefractorSyntax;
export = lang;

View File

@ -0,0 +1,3 @@
import { RefractorSyntax } from '../core';
declare const lang: RefractorSyntax;
export = lang;

3
types/refractor/lang/smali.d.ts vendored Normal file
View File

@ -0,0 +1,3 @@
import { RefractorSyntax } from '../core';
declare const lang: RefractorSyntax;
export = lang;

3
types/refractor/lang/solidity.d.ts vendored Normal file
View File

@ -0,0 +1,3 @@
import { RefractorSyntax } from '../core';
declare const lang: RefractorSyntax;
export = lang;

View File

@ -0,0 +1,3 @@
import { RefractorSyntax } from '../core';
declare const lang: RefractorSyntax;
export = lang;

3
types/refractor/lang/sparql.d.ts vendored Normal file
View File

@ -0,0 +1,3 @@
import { RefractorSyntax } from '../core';
declare const lang: RefractorSyntax;
export = lang;

3
types/refractor/lang/splunk-spl.d.ts vendored Normal file
View File

@ -0,0 +1,3 @@
import { RefractorSyntax } from '../core';
declare const lang: RefractorSyntax;
export = lang;

3
types/refractor/lang/sqf.d.ts vendored Normal file
View File

@ -0,0 +1,3 @@
import { RefractorSyntax } from '../core';
declare const lang: RefractorSyntax;
export = lang;

3
types/refractor/lang/turtle.d.ts vendored Normal file
View File

@ -0,0 +1,3 @@
import { RefractorSyntax } from '../core';
declare const lang: RefractorSyntax;
export = lang;

View File

@ -0,0 +1,3 @@
import { RefractorSyntax } from '../core';
declare const lang: RefractorSyntax;
export = lang;

3
types/refractor/lang/warpscript.d.ts vendored Normal file
View File

@ -0,0 +1,3 @@
import { RefractorSyntax } from '../core';
declare const lang: RefractorSyntax;
export = lang;

3
types/refractor/lang/xml-doc.d.ts vendored Normal file
View File

@ -0,0 +1,3 @@
import { RefractorSyntax } from '../core';
declare const lang: RefractorSyntax;
export = lang;

3
types/refractor/lang/yang.d.ts vendored Normal file
View File

@ -0,0 +1,3 @@
import { RefractorSyntax } from '../core';
declare const lang: RefractorSyntax;
export = lang;

3
types/refractor/lang/zig.d.ts vendored Normal file
View File

@ -0,0 +1,3 @@
import { RefractorSyntax } from '../core';
declare const lang: RefractorSyntax;
export = lang;