summaryrefslogtreecommitdiff
path: root/pygments/lexers/_mapping.py
Commit message (Collapse)AuthorAgeFilesLines
* Update mapfilesGeorg Brandl2020-09-061-2/+2
|
* Add lexer for PsySH console for PHP (#1438)Ben Ramsey2020-09-041-0/+1
| | | | | This lexer is based on the PythonConsoleLexer and provides the ability to highlight console input and output for PsySH, a developer console and REPL for PHP. See https://psysh.org.
* Add lexer for Pointless (#1494)Avery N. Nortonsmith2020-08-231-0/+1
| | | | | | | | | | | | | | | | | | | * add lexer for pointless * lexer docstring formatting * added link to languages doc * update authors * update version * added double string * added upval keyword * simplify ptls example code * rename doubleString -> multiString
* Added BARE schema lexer (#1488)Martijn Braam2020-08-221-0/+1
|
* Add a PromQL lexer (#1506)Pablo SEMINARIO2020-08-191-0/+1
| | | Including tests and an example.promql file.
* Add Arrow lexer (#1481)Ken2020-06-211-0/+1
| | | | | | | * Add Arrow lexer * Pass tests: raw string for regex * Make requested changes
* add Singularity lexer (#1285)Georg Brandl2020-06-011-0/+1
| | | Co-authored-by: Bryton Hall <email@bryton.io>
* Add GDScript lexer (#1457)Paweł Fertyk2020-06-011-0/+1
| | | | | | | | | | | | | | | | | | | | | * Added GDScript lexer * Fix regular expressions in GDScript lexer * Update GDScript lexer with the current version from Godot docs * Add tests for GDScript lexer * Update authors * Add an example file for GDScript * Implement analyze_text for GAP and GDScript * Fix example file name in tests * Update license Co-authored-by: Daniel J. Ramirez <djrmuv@gmail.com>
* Add lexer for Devicetree language (#1434)Maxime Chretien2020-05-261-0/+1
| | | | | | | | | | | | | | | | | | | * Add lexer for Devicetree language Signed-off-by: Maxime Chretien <maxime.chretien@bootlin.com> * Devicetree lexer: fix random input test error Signed-off-by: Maxime Chretien <maxime.chretien@bootlin.com> * Devicetree lexer: fix example file reference Signed-off-by: Maxime Chretien <maxime.chretien@bootlin.com> * Devicetree lexer: Reduce example file size Also add some missing language elements Signed-off-by: Maxime Chretien <maxime.chretien@bootlin.com>
* Add support for .tid files (TiddlyWiki5) (#1390)Max2020-05-241-0/+1
| | | | | | | | | | | * add support for .tid files (TiddlyWiki5) * add lexers/_mapping.py * markup.py: change versionadded of TiddlyWiki5Lexer to 2.7 * markup.py, TiddlyWiki5Lexer: use non-greedy matcher for table headers, footers, captions and classes * markup.py, TiddlyWiki5Lexer: make timestamps of type Number.Integer
* Configs lexer: Allow Kconfig derivate names (#1458)Maxime Chretien2020-05-201-1/+1
| | | | | | In the linux source code a lot of files are named Kconfig.debug and there are also other derivatives like Kconfig.x86 or Kconfig-nommu Signed-off-by: Maxime Chretien <maxime.chretien@bootlin.com>
* Add .perl as a Perl filename extensionGeorg Brandl2020-04-261-1/+1
| | | | fixes #1433
* Add lexer for YANG 1.1 (#1408)GRIBOK2020-04-131-0/+1
| | | | | | | | | | | | | | | | | | | * Add yang lexer for issue pygments/pygments#1407 * fix copyright statement * adjust examplefile for yang * fix to avoid duplicate code in lexer * add more testcases for yang lexer * simplify yang lexer * simplify default rule in yang lexer * change example yang file * add version to yang lexer
* Add execline lexer (#1393)Molly Miller2020-04-101-0/+1
| | | | | | | | | | | | | | | | | * Implement lexer for execline. This commit introduces a lexer for Laurent Bercot's execline scripting language (https://skarnet.org/software/execline) based on Pygments' existing bash lexer, with some minor adaptations for execline's variable naming rules. * Add versionadded note and website link to execline lexer. * Add execline to languages.rst and example execline script * Explicitly mark non-special characters in execline lexer as Text * Correct execline lexer version addded Co-authored-by: Molly Miller <sysvinit@users.noreply.github.com>
* A lexer for F*, an ML dialect for program verification (#1409)Denis Merigoux2020-04-101-0/+1
| | | | | | | | | | | | | | | | | | | * A lexer for F*, an ML dialect for program verification * Fix treatment of infix applications, e.g. * Correct modifications * Better lexing * Added F* to the list of supported languages * Add example file * Bumped versionadded field * Added link to language Co-authored-by: Jonathan Protzenko <jonathan.protzenko@gmail.com>
* Add Typographic Number Theory lexer (#1414)Ken2020-04-101-0/+1
| | | | | | | | | * Add Typographic Number Theory lexer Originally tried to use RegexLexer, but the structure of TNT is too rigid for it to handle. Went with a direct parser instead. Co-authored-by: lonetwin <steve@lonetwin.net>
* Add ReasonML lexer. (#1386)Florian Hammerschmidt2020-02-291-0/+1
|
* Remove Python 2 compatibility (#1348)Georg Brandl2020-02-291-2/+0
| | | | | | | | | | | * Remove Python 2 compatibility * remove 2/3 shims in pygments.util * update setup.py metadata * Remove unneeded object inheritance. * Remove unneeded future imports.
* Add support for the MiniScript embedded scripting language.JoeStrout2020-02-201-0/+1
|
* Add support for *.mjs JavaScript modules extension (#1392)Alan Hamlett2020-02-121-1/+1
|
* Support for *.eex files in ElixirLexer (#1387)Alan Hamlett2020-02-111-1/+1
| | | | | | * Support for *.eex files in ElixirLexer * update lexer mapping
* add filename for pipenv & poetrytzing2020-02-011-2/+2
|
* Add sieve as alias for Sieve.Matthäus G. Chajdas2020-01-241-1/+1
|
* Update CHANGES, language list, and regenerate mapfile.Matthäus G. Chajdas2020-01-241-1/+1
|
* Add lexer for LLVM's MIR format (#1361)Daniel Sanders2020-01-241-0/+2
| | | | | | | | | | | | | | | | | | MIR is a human readable serialization format that's used to represent LLVM's machine specific intermediate representation. It allows LLVM's developers to see the state of the compilation process at various points, as well as test individual pieces of the compiler. Our documentation for the format can be found at https://llvm.org/docs/MIRLangRef.html. Adding a lexer for this format will allow the LLVM documentation to contain syntax highlighted examples of LLVM-MIR. Two lexers are included in this change. 'llvm-mir' lexes the overall document format and delegates to 'llvm' and 'llvm-mir-body' as appropriate. 'llvm-mir-body' lexes the contents of the 'body:' attribute and can be used directly to syntax highlight code examples without including the document boilerplate. Since the 'llvm-mir' lexer delegates to the 'llvm' lexer at times, this change also adds the 'immarg' and 'willreturn' keywords to the 'llvm' lexer as these were missing.
* Add a PEG (Parsing Expression Grammar) lexer (#1336)Michael Wayne Goodman2020-01-161-0/+1
| | | | | * Add a PEG (Parsing Expression Grammar) lexer * Add PEG to doc/languages.rst and indicate version
* Merge branch 'master' into 671/upsuper/webidlMatthäus G. Chajdas2020-01-071-2/+7
|\ | | | | | | This allows us to resolve the merge conflict properly.
| * Add Sieve lexer (#1257)sblondon2020-01-041-0/+1
| | | | | | | | Add Sieve lexer
| * Update CHANGES & map file.Matthäus G. Chajdas2020-01-041-1/+1
| | | | | | | | Perl6/Raku update adds new file extensions, so regenerate the file mapping.
| * dmesg lexer refinements:Georg Brandl2019-12-091-1/+1
| | | | | | | | | | | | * move to textfmts.py where other logfiles are * fix detection of dmesg -x (heuristic "unknown" state must be last) * change styles for debug/warn lines
| * This commit adds a lexer for linux kernel logs as outputted by `dmesg`martijn@msi.localhost2019-12-091-0/+1
| | | | | | | | | | | | | | | | It supports output from `dmesg`, in that case it highlights based on keywords in the line It can also highlight `dmesg -x` output. In that case it uses the loglevels from the kernel to highlight the lines.
| * Add Mosel lexer.German Riano2019-12-081-0/+1
| |
| * USD: post-merge nitsGeorg Brandl2019-12-061-1/+1
| |
| * Add USD lexer (#1290)Georg Brandl2019-12-061-0/+1
| |\ | | | | | | Add USD lexer
| | * Merged with master and resolved a minor merge conflict in languages.rstColin Kennedy2019-11-301-1/+1
| | |\
| | * | Added USD to supporting filesColin Kennedy2019-11-261-0/+1
| | | |
| * | | update mapfilesGeorg Brandl2019-12-011-1/+1
| | | |
| * | | Support Ride language (Waves blockchain smart-contracts)Mike Potanin2019-12-011-0/+1
| | |/ | |/|
| * | Perl 6 is now RakuGeorg Brandl2019-11-301-1/+1
| |/
* | Add Web IDL lexerXidorn Quan2019-11-281-0/+1
|/
* Add Solidity lexer.Georg Brandl2019-11-261-0/+1
| | | | Fixes #1214
* Add Notmuch lexerDaniel Santana2019-11-261-0/+1
|
* Set BroLexer = ZeekLexerJon Siwek2019-11-251-2/+1
| | | | This also removes BroLexer from LEXERS.
* Add Zeek lexer based on the Bro lexerJon Siwek2019-11-251-0/+1
| | | | | | | Bro has been renamed to Zeek, but the language is essentially the same without any different treatment of .zeek files from .bro files. This change also adds general improvements to the lexer.
* Add Lexer for scdocStefan Tatschner2019-11-251-0/+1
| | | | | | | | | | The scdoc markup language is increasingly used by the Wayland community for writing manpages. Examples are: * https://git.sr.ht/~sircmpwn/scdoc/tree/master/scdoc.5.scd * https://github.com/swaywm/sway/blob/master/sway/sway.1.scd * https://github.com/swaywm/swayidle/blob/master/swayidle.1.scd * https://git.sr.ht/~sircmpwn/aerc/tree/master/doc/aerc-tutorial.7.scd
* resource, robotframework: stop hogging the .txt extensionGeorg Brandl2019-11-251-2/+2
|
* Python lexer: accept .jy filenamesGeorg Brandl2019-11-241-1/+1
| | | | Fixes #976
* Python lexers: make Python 3 the defaultGeorg Brandl2019-11-241-4/+4
|
* fixup! Treat Skylark/Starlark files as PythonRyan Beasley2019-11-221-1/+1
|
* Treat Skylark/Starlark files as PythonRyan Beasley2019-11-221-1/+1
| | | | | | | | Closes #1183. Testing Done: - `pygmentize -f html -O full foo.bzl > foo.html`; opened foo.html in a browser