summaryrefslogtreecommitdiff
path: root/pygments/lexers/_mapping.py
Commit message (Collapse)AuthorAgeFilesLines
* Add support for GraphQL (#2428)mazza2023-05-141-0/+1
| | | Co-authored-by: Jean Abou Samra <jean@abou-samra.fr>
* Add lexer for MediaWiki Wikitext (#2373)diskdance2023-04-051-0/+1
|
* Add PostgreSQL Explain lexer (#2398)Adrien nayrat2023-04-041-0/+1
| | | | | | | | | | This lexer add support for PostgreSQL Explain plan : https://www.postgresql.org/docs/current/sql-explain.html This was heavily inspired by Maxence Ahlouche work, thanks to him : https://github.com/maahl/pg_explain_lexer Co-authored-by: Jean Abou Samra <jean@abou-samra.fr>
* Lexer for the WebGPU Shading Language (#2386)David Neto2023-03-301-0/+1
| | | | | | | | | | See https://w3.org/TR/WGSL Further work is needed to refine it: - treat context-dependent names specially - treat template start and template end tokens specially, perhaps Fixes: #2388
* adds hcl alias for terraform syntax (#2375)Christopher Baklid2023-03-291-1/+1
| | | | This PR adds hcl as an option for highlighting HCL syntax as Hashicorp uses HCL for more than just Terraform, like Nomad.
* Add support for Carbon Programming Language (#2362)Amr Hesham2023-03-011-0/+1
|
* Replace Makefile with tox (#2331)Jean Abou-Samra2023-02-231-1/+1
| | | | | | | | | | | | | | | Porting notes: - tox handles Python environments automatically. Remove a bit of PYTHONPATH manipulation (that was using Python 2 code which always failed!) - No `clean` target: `git clean -xdf` should fit the bill. - No `reindent` target: the `reindent.py` script it was using does not exist (anymore?). - No equivalent of tox-test-coverage, which was an artifact of the past, using nose. Instead, the test-coverage target only is ported, which uses pytest, and works.
* Add X++ support (#2339)Andrew Schmidt2023-02-141-0/+1
| | | Co-authored-by: Jean Abou Samra <jean@abou-samra.fr>
* Add new lexer for DAX (#2335)Greg de Lima2023-02-131-0/+1
| | | Co-authored-by: Jean Abou-Samra <jean@abou-samra.fr>
* Add `filenames` pattern for `HspecLexer`Simon Hengel2022-12-271-1/+1
|
* Add support for PortugolLexer (#2300)Lorhan Sohaky2022-12-101-0/+1
|
* Add support for Wren language (#2271)PureFox482022-11-291-0/+1
| | | Co-authored-by: Jean Abou Samra <jean@abou-samra.fr>
* Add a lexer for Schemas for Minecraft Add-ons and 4 examples, merging lexers ↵方法放寒假2022-11-291-2/+3
| | | | (#2276)
* Added support for F# script files, aka .fsx files (#2282)Alan Ball2022-11-261-1/+1
|
* Add the NASM file format supportsAshraf Ali S2022-11-191-1/+1
| | | | | | | | | | tianocore EDK2 have the NASM file format alternative to ASM based On which compiler user is using. https://github.com/tianocore/edk2 NASM are same as ASM file format Signed-off-by: Ashraf Ali S <ashraf.ali.s@intel.com>
* Add support for Arturo language (#2259)RickBarretto2022-10-261-0/+1
|
* Add fift language (#2249)Dan Volkov2022-09-291-0/+1
|
* Add tl-b lexer (#2247)Dan Volkov2022-09-261-0/+1
|
* Add Jsonnet supportAaron Bentley2022-09-251-0/+1
|
* Add World of Warcraft TOC file lexer (#2244)Tim Martin2022-09-211-0/+1
| | | Also fix a broken link and decode as UTF8 in count_token_references.py.
* Adding MIPS Lexer (#2228)davisrichard4372022-09-211-0/+1
|
* Add func lexer (#2232)Dan Volkov2022-09-181-0/+1
|
* Add Phix (#2222)Pete Lomax2022-09-151-0/+1
|
* Add `.pyi` file to `python` lexer filenames (#2231)Nikita Sobolev2022-09-151-1/+1
|
* Add GAP console session mode (#2211)Max Horn2022-08-191-0/+1
| | | | | | | | | | * Add GAP console session mode This is also appropriate for GAP .tst files. Add `analyse_text` methods for `ScilabLexer` and `GAPConsoleLexer` to distinguish Scilab and GAP .tst files * Use explicit name for 'keepends' argument to splitlines
* Added COMAL-80 language highlight. (#2180)Marc Rintsch2022-07-151-0/+1
| | | | | * Added COMAL-80 language highlight. Co-authored-by: Jean Abou Samra <jean@abou-samra.fr>
* Add lexer for JMESPath (#2175)Álvaro Mondéjar2022-07-051-0/+1
| | | | Co-authored-by: Jean Abou-Samra <jean@abou-samra.fr>
* Update dotnet.py with _obas aliases (#2170)flywire2022-06-291-1/+1
| | | | | DotNet lexer works with LibreOffice Basic, OpenOffice Basic, and StarOffice Basic. * Update _mapping.py
* feat: add a new SqlJinjaLexer (#2148)Edgar R. M2022-06-051-0/+1
|
* Merge mapping file generation scripts (#2152)Jean Abou-Samra2022-05-291-60/+2
| | | | | | | | | Use a unified script, to reduce code duplication and in preparation for doing a similar thing with styles and filters. The new script also uses a bit more modern Python APIs (e.g., pathlib). Unlike the previous scripts, it does not replace replace CRLF with LF because Git should do that itself.
* Initial commit for MCFunction Lexer + tests (#2107)Rit2022-04-241-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Initial commit for MCFunction Lexer + tests * Apply suggestions from code review Co-authored-by: Jean Abou-Samra <jean@abou-samra.fr> * added docstring info + fix for run ... command * remove string ending Error tokens * not working - refactor in-progress * fixed: generic property * Update pygments/lexers/mcfunction.py Co-authored-by: Georg Brandl <georg@python.org> * apply some fixes from comments * Update pygments/lexers/mcfunction.py Co-authored-by: Georg Brandl <georg@python.org> * spacing * updated tests and applied more suggestions * fixed comment regex, passes tests Co-authored-by: Jean Abou-Samra <jean@abou-samra.fr> Co-authored-by: Georg Brandl <georg@python.org>
* Moving Ada Lexer to standalone module (#2117)Gustavo A. Hoffmann2022-04-241-1/+1
| | | | | | | | | * Moving Ada Lexer to standalone module * Editorial change: correcting underline * Moving keywords and standard types to separate Ada builtins file * Adding separate AdaLexer to the list
* Add lexer for colon-separated value config files like /etc/passwd, ↵Leistungsabfall2022-04-161-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | /etc/shadow and /etc/group (#2112) * add PasswdLexer and ShadowLexer for lexing /etc/passwd and /etc/shadow * fix regex * Update pygments/lexers/configs.py Co-authored-by: Jean Abou-Samra <jean@abou-samra.fr> * address review comments * update _mapping.py * Create united lexer UnixConfigLexer for config files using colon-separated values, typically used in Unix/Linux system config files. * format docstring * UnixConfigLexer: add whitespace detection * add test snippets for UnixConfigLexer * address review comment Co-authored-by: Jean Abou-Samra <jean@abou-samra.fr> Co-authored-by: Leistungsabfall <–Leistungsabfall@users.noreply.github.com>
* Register .j2 and .jinja2 file suffixes to relevant lexersPeder Bergebakken Sundt2022-04-041-5/+5
|
* Add Macaulay2 lexer (#1791)Doug Torrance2022-03-311-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add Macaulay2 lexer * Update symbols for Macaulay2 1.18 * Match whitespace characters in Macaulay2 lexer * Add states for strings/comments in Macaulay2 lexer * Update Macaulay2 lexer tests for string/comment edge cases * Improve comment and string matching in Macaulay2 lexer Instead of matching each character one at a time, we match all characters without special meaning together. * Update Macaulay2 test output * Update Macaulay2 lexer symbols for 1.19 release * Move "auto-generated" comment in Macaulay2 lexer down a few lines * Fix underline length in Macaulay2 lexer docstring * Add url field for Macaulay2 lexer * Bump copyright year for Macaulay2 lexer
* Add lexer for parsing Uxntal assembly code. (#2086)Erik Osheim2022-03-131-0/+1
| | | | | | | | | | | | Uxn is a virtual machine which represents a personal computing playground, and is described here: https://100r.co/site/uxn.html Uxntal assembly language is described here: https://wiki.xxiivv.com/site/uxntal.html The demo code piano.tal is used with permission.
* Added Berry Lexer (#2070)Beormund2022-03-071-0/+1
|
* Add UL4 lexer. (#2040)Walter Dörwald2022-03-071-0/+6
|
* Add K and Q lexers (#2073)Nick Psaris2022-03-051-0/+2
|
* Add qlik lexer (#1925)Gemma Down2022-03-041-0/+1
|
* Merge branch 'master' of github.com:pygments/pygmentsFabrizio Riguzzi2022-02-201-1/+1
|\
| * Add the file extension *.resource to the list of Robot Framework files. (#2047)Hélio Guilherme2022-01-271-1/+1
| |
* | Merge branch 'master' of github.com:friguzzi/pygmentsFabrizio Riguzzi2022-01-251-1/+1
|\ \
| * \ Merge branch 'pygments:master' into masterFabrizio Riguzzi2022-01-251-1/+1
| |\ \ | | |/
| | * Add support for .cljc clojure file extension (#2043)Danny Freeman2022-01-251-1/+1
| | |
* | | fixed test problem with cplint and regexlint problemFabrizio Riguzzi2022-01-251-1/+1
|/ /
* | in a:p a no more higlighted as a moduleFabrizio Riguzzi2022-01-221-0/+1
|/
* Fix typos (#2030)Kian-Meng Ang2022-01-181-2/+2
|
* Add .tpp as a c++ lexer file extension (#2031)HampusMat2022-01-111-1/+1
|
* Add f90 as an alias for fortran (closes #2000.)Matthäus G. Chajdas2021-12-291-1/+1
|