summaryrefslogtreecommitdiff
path: root/pygments
Commit message (Collapse)AuthorAgeFilesLines
* GraphQL: add URLHEADmasterJean Abou Samra2023-05-141-0/+1
|
* Add support for GraphQL (#2428)mazza2023-05-142-0/+177
| | | Co-authored-by: Jean Abou Samra <jean@abou-samra.fr>
* Update uxntal lexer to reflect current runes (#2424)Dave VanEe2023-05-081-6/+9
|
* [elpi] handle quotations (#2419)Enrico Tassi2023-04-301-1/+9
| | | Co-authored-by: Jean Abou Samra <jean@abou-samra.fr>
* Updates C and C++ lexers (#2422)Christopher Di Bella2023-04-261-2/+3
| | | | | | | | | | | * replaces `restrict` with `__restrict` in C++ `restrict` isn't a C++ keyword, but `__restrict` is recognised by Clang, GCC, and MSVC as a language extension. * adds `_BitInt` and `__int128` as C and C++ types * `_BitInt` is a new C type and an extended integral type for C++. * `__int128` is an extended integral type on both Clang and GCC.
* adds C++ alternative tokens as keywords (#2421)Christopher Di Bella2023-04-261-1/+2
|
* lean: correctly parse expressions nested within attributes (#1817)Eric Wieser2023-04-201-23/+32
|
* Add Pre-sorted Group keyword (#2417)Adrien nayrat2023-04-201-1/+1
|
* Prepare 2.15.1 release.2.15.1Matthäus G. Chajdas2023-04-181-1/+1
|
* Improve Java properties lexer (#2404)Jean Abou-Samra2023-04-171-18/+34
| | | | | | Use special lexer rules for escapes; fixes catastrophic backtracking, and highlights them too. Fixes #2356
* Refactor PythonConsoleLexer as a DelegatingLexer (#2412)Jean Abou-Samra2023-04-171-62/+55
| | | | | This is simpler and more reliable than hand-coding the state machine. Fixes #2411
* Python console: do not require output that looks like a traceback to be ↵Georg Brandl2023-04-121-1/+2
| | | | valid (#2410)
* PythonTracebackLexer: minor tweak in docstringJean Abou Samra2023-04-121-1/+1
|
* Enable Sphinx nitpicky mode and fix warnings (#2403)Jean Abou-Samra2023-04-113-5/+6
|
* Prepare 2.15 release.2.15.0Matthäus G. Chajdas2023-04-101-1/+1
|
* Prepare for release.Matthäus G. Chajdas2023-04-106-5/+15
| | | | | | * Update CHANGES. * Fix missing `versionadded` declarations. * Fix a few linter issues.
* Change token of None after from keywordrdbende2023-04-081-1/+1
|
* Add lexer for MediaWiki Wikitext (#2373)diskdance2023-04-052-1/+737
|
* Add PostgreSQL Explain lexer (#2398)Adrien nayrat2023-04-043-3/+247
| | | | | | | | | | 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>
* update fg color to match latest primer style (#2401)Aniket Teredesai2023-04-031-1/+1
|
* Use autodoc for pygments.stylesJean Abou Samra2023-03-302-17/+28
|
* Use autodoc for pygments.lexersJean Abou Samra2023-03-301-25/+42
|
* Use autodoc for pygments.utilJean Abou Samra2023-03-301-3/+25
|
* Use autodoc for Formatter classJean Abou Samra2023-03-301-10/+39
|
* Use autodoc a bit moreJean Abou Samra2023-03-302-32/+92
|
* tox -e mapfilesJean Abou Samra2023-03-301-1/+1
| | | | (sorry, I forgot that the docstrings are part of _mapping.py)
* Slightly clarify documentation of HtmlFormatter nowrap optionJean Abou Samra2023-03-301-7/+5
| | | | Fixes #2396
* Update copyright year in wgsl.py (fixes tox -e check)Jean Abou Samra2023-03-301-2/+2
|
* Lexer for the WebGPU Shading Language (#2386)David Neto2023-03-302-0/+405
| | | | | | | | | | 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-292-3/+3
| | | | This PR adds hcl as an option for highlighting HCL syntax as Hashicorp uses HCL for more than just Terraform, like Nomad.
* Update copyright year to 2023.Matthäus G. Chajdas2023-03-29299-302/+302
|
* add support for lexing attributes in Chapel (#2376)arezaii2023-03-291-0/+4
| | | | | | Chapel 1.30 includes support for attributes. The lexer was not able to process them without some adjustments. Co-authored-by: amitkummer <49096391+amitkummer@users.noreply.github.com>
* Merge pull request #2383 from pygments/2382-fixMatthäus G. Chajdas2023-03-251-1/+1
|\ | | | | css: fix lexing numbers inside function calls
| * css: fix lexing numbers inside function calls2382-fixGeorg Brandl2023-03-191-1/+1
| | | | | | | | Fixes #2382
* | bash/tcsh: move "break" to keywords (#2377)Georg Brandl2023-03-151-4/+4
|/ | | Fixes #2374
* Improve Gnuplot lexer.Matthäus G. Chajdas2023-03-111-3/+4
| | | | | * Merge comment tokens. * Improve whitespace matching accuracy.
* Improve number regex and add lexer guess for carbon syntax (#2370)Amr Hesham2023-03-071-4/+29
|
* Add more keywords to Carbon lexer (#2369)Amr Hesham2023-03-031-2/+2
|
* Add support for impl and constraint declaration in Carbon lexer (#2368)Amr Hesham2023-03-021-1/+1
|
* Fix order of minus and arrow operators in Carbon lexer (#2367)Amr Hesham2023-03-021-1/+1
|
* Add support for more declarations and access modifiers in Carbon lexer (#2366)Amr Hesham2023-03-021-3/+4
|
* Add support for Carbon Programming Language (#2362)Amr Hesham2023-03-012-0/+71
|
* SQL+Jinja: use a simpler regex in analyse_textJean Abou Samra2023-03-011-5/+1
| | | | | | Fixes catastrophic backtracking Fixes #2355
* Improve lexing PHP attributes (#2360)Richard van Velzen2023-03-011-1/+11
|
* Fix lexing PHP anonymous classes with no parameters (#2359)Richard van Velzen2023-03-011-0/+1
|
* Improve lexing PHP's variable variable syntax (#2358)Richard van Velzen2023-03-011-1/+5
|
* Fix GLSL and HLSL preprocessor directive startbitsawer2023-02-261-2/+2
|
* Improve bash math expansion lexing (#2353)Richard van Velzen2023-02-241-2/+4
|
* Don't require script headers in Rebol and Red codes. (#2349)Oldes Huhuman2023-02-241-11/+0
| | | | | | | | | | * Don't require script headers in Rebol and Red codes. Resolves: https://github.com/pygments/pygments/issues/2348 * Not modifying the copyright * Updated tests for Rebol and Red * Rebol: removed the unneeded code instead of commenting.
* Implement CMake bracket comment syntax (#2354)Richard van Velzen2023-02-241-0/+1
|