summaryrefslogtreecommitdiff
path: root/tests/examplefiles
Commit message (Collapse)AuthorAgeFilesLines
* Add support for GraphQL (#2428)mazza2023-05-1428-0/+737
| | | Co-authored-by: Jean Abou Samra <jean@abou-samra.fr>
* Update uxntal lexer to reflect current runes (#2424)Dave VanEe2023-05-082-2159/+2137
|
* lean: correctly parse expressions nested within attributes (#1817)Eric Wieser2023-04-202-0/+29
|
* Improve Java properties lexer (#2404)Jean Abou-Samra2023-04-172-18/+105
| | | | | | 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-172-31/+49
| | | | | This is simpler and more reliable than hand-coding the state machine. Fixes #2411
* Add lexer for MediaWiki Wikitext (#2373)diskdance2023-04-052-0/+109549
|
* Add PostgreSQL Explain lexer (#2398)Adrien nayrat2023-04-042-0/+2875
| | | | | | | | | | 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>
* bash/tcsh: move "break" to keywords (#2377)Georg Brandl2023-03-151-6/+6
| | | Fixes #2374
* Improve Gnuplot lexer.Matthäus G. Chajdas2023-03-111-901/+28
| | | | | * Merge comment tokens. * Improve whitespace matching accuracy.
* 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-022-1/+52
|
* Fix order of minus and arrow operators in Carbon lexer (#2367)Amr Hesham2023-03-022-10/+5
|
* Add support for more declarations and access modifiers in Carbon lexer (#2366)Amr Hesham2023-03-022-0/+278
|
* Fix Carbon example typo in function declaration (#2365)Amr Hesham2023-03-022-2/+2
|
* Add support for Carbon Programming Language (#2362)Amr Hesham2023-03-012-0/+238
|
* Improve lexing PHP attributes (#2360)Richard van Velzen2023-03-012-23/+0
|
* Fix GLSL and HLSL preprocessor directive startbitsawer2023-02-266-0/+42
|
* Improve bash math expansion lexing (#2353)Richard van Velzen2023-02-241-1/+1
|
* Don't require script headers in Rebol and Red codes. (#2349)Oldes Huhuman2023-02-244-27/+7
| | | | | | | | | | * 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-242-0/+25
|
* Fix GLSL and HLSL preprocessor line continuation (#2350)bitsawer2023-02-236-2/+43
|
* Support PHP attributes (#2347)Richard van Velzen2023-02-212-0/+22
|
* Add X++ support (#2339)Andrew Schmidt2023-02-142-0/+657
| | | Co-authored-by: Jean Abou Samra <jean@abou-samra.fr>
* Add new lexer for DAX (#2335)Greg de Lima2023-02-132-0/+56
| | | Co-authored-by: Jean Abou-Samra <jean@abou-samra.fr>
* Extend the AMDGPU lexer. (#2327)Thomas Symalla2023-01-312-1/+40
| | | | | Add support for scratch_ instructions, the attr*.* argument as well as the off modifier. Without support for attr*.*, multiple v_interp instructions are previously rendered incorrectly.
* Upgrading APDL lexer (#2314)German2023-01-303-66/+44
| | | Co-authored-by: Jean Abou Samra <jean@abou-samra.fr>
* Improve the Smithy metadata matcher.Matthäus G. Chajdas2022-12-312-0/+64
| | | | | | Previously, metadata foo bar baz = 23 was accepted, but according to the definition https://smithy.io/2.0/spec/idl.html#grammar-token-smithy-MetadataSection it should be "metadata"<whitespace>Identifier/String<optional whitespace>.
* Improve whitespace handling in MesonLexer/PerlLexer.Matthäus G. Chajdas2022-12-114-1766/+1766
|
* Improve whitespace handling in XQueryLexer.Matthäus G. Chajdas2022-12-113-181/+181
|
* Improve whitespace handling in VarnishLexer.Matthäus G. Chajdas2022-12-111-407/+407
|
* Improve whitespace handling in SLexer.Matthäus G. Chajdas2022-12-112-361/+361
|
* Improve whitespace handling in Python.Matthäus G. Chajdas2022-12-1114-245/+245
| | | | | | | | | This triggers a new case in the HtmlFormatter, which emits an empty span at the end of the line for a new line, as those are removed by the split-by-parts code. This requires separate post-processing. Doesn't fix all whitespace issues with Python either, but we're done to 360 failing examples with that, from previously >400.
* Fix golden test output.Matthäus G. Chajdas2022-12-111-2/+2
|
* Improve whitespace handling in PraatLexer.Matthäus G. Chajdas2022-12-111-118/+149
|
* Add support for PortugolLexer (#2300)Lorhan Sohaky2022-12-102-0/+1379
|
* Improve whitespace handling in PraatLexer.Matthäus G. Chajdas2022-12-041-864/+864
|
* Improve whitespace handling in TealLexer.Matthäus G. Chajdas2022-12-041-10/+10
|
* Improve whitespace handling in XmlLexer.Matthäus G. Chajdas2022-12-049-5359/+7325
|
* Improve whitespace handling in PythonTracebackLexer.Matthäus G. Chajdas2022-12-0412-147/+147
|
* Improve whitespace handling in Make/BashLexer.Matthäus G. Chajdas2022-12-045-549/+549
|
* Improve whitespace handling in CMake/RegexLexer.Matthäus G. Chajdas2022-12-0452-7591/+7591
|
* Improve whitespace handling in the PascalLexer.Matthäus G. Chajdas2022-12-042-9095/+9095
|
* Improve whitespace handling in the BashLexer.Matthäus G. Chajdas2022-12-0415-8431/+8431
|
* Improve whitespace handling in Markdown.Matthäus G. Chajdas2022-12-041-8/+8
|
* Fix whitespace handling in Ruby.Matthäus G. Chajdas2022-12-0414-7728/+7728
|
* fix solidity lexer not picking up many of the language operatorsMichael Rodler2022-12-032-47/+536
|
* NixLexer: fix "1 token per char"Jean Abou Samra2022-12-031-113/+9
|
* nix: allow single quotes inside single-quoted strings (#2289)Naïm Favier2022-12-032-1/+7
|
* Add support for Wren language (#2271)PureFox482022-11-292-0/+1047
| | | 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-298-0/+4019
| | | | (#2276)