Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add support for GraphQL (#2428) | mazza | 2023-05-14 | 28 | -0/+737 |
| | | | Co-authored-by: Jean Abou Samra <jean@abou-samra.fr> | ||||
* | Update uxntal lexer to reflect current runes (#2424) | Dave VanEe | 2023-05-08 | 2 | -2159/+2137 |
| | |||||
* | lean: correctly parse expressions nested within attributes (#1817) | Eric Wieser | 2023-04-20 | 2 | -0/+29 |
| | |||||
* | Improve Java properties lexer (#2404) | Jean Abou-Samra | 2023-04-17 | 2 | -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-Samra | 2023-04-17 | 2 | -31/+49 |
| | | | | | This is simpler and more reliable than hand-coding the state machine. Fixes #2411 | ||||
* | Add lexer for MediaWiki Wikitext (#2373) | diskdance | 2023-04-05 | 2 | -0/+109549 |
| | |||||
* | Add PostgreSQL Explain lexer (#2398) | Adrien nayrat | 2023-04-04 | 2 | -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 Brandl | 2023-03-15 | 1 | -6/+6 |
| | | | Fixes #2374 | ||||
* | Improve Gnuplot lexer. | Matthäus G. Chajdas | 2023-03-11 | 1 | -901/+28 |
| | | | | | * Merge comment tokens. * Improve whitespace matching accuracy. | ||||
* | Add more keywords to Carbon lexer (#2369) | Amr Hesham | 2023-03-03 | 1 | -2/+2 |
| | |||||
* | Add support for impl and constraint declaration in Carbon lexer (#2368) | Amr Hesham | 2023-03-02 | 2 | -1/+52 |
| | |||||
* | Fix order of minus and arrow operators in Carbon lexer (#2367) | Amr Hesham | 2023-03-02 | 2 | -10/+5 |
| | |||||
* | Add support for more declarations and access modifiers in Carbon lexer (#2366) | Amr Hesham | 2023-03-02 | 2 | -0/+278 |
| | |||||
* | Fix Carbon example typo in function declaration (#2365) | Amr Hesham | 2023-03-02 | 2 | -2/+2 |
| | |||||
* | Add support for Carbon Programming Language (#2362) | Amr Hesham | 2023-03-01 | 2 | -0/+238 |
| | |||||
* | Improve lexing PHP attributes (#2360) | Richard van Velzen | 2023-03-01 | 2 | -23/+0 |
| | |||||
* | Fix GLSL and HLSL preprocessor directive start | bitsawer | 2023-02-26 | 6 | -0/+42 |
| | |||||
* | Improve bash math expansion lexing (#2353) | Richard van Velzen | 2023-02-24 | 1 | -1/+1 |
| | |||||
* | Don't require script headers in Rebol and Red codes. (#2349) | Oldes Huhuman | 2023-02-24 | 4 | -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 Velzen | 2023-02-24 | 2 | -0/+25 |
| | |||||
* | Fix GLSL and HLSL preprocessor line continuation (#2350) | bitsawer | 2023-02-23 | 6 | -2/+43 |
| | |||||
* | Support PHP attributes (#2347) | Richard van Velzen | 2023-02-21 | 2 | -0/+22 |
| | |||||
* | Add X++ support (#2339) | Andrew Schmidt | 2023-02-14 | 2 | -0/+657 |
| | | | Co-authored-by: Jean Abou Samra <jean@abou-samra.fr> | ||||
* | Add new lexer for DAX (#2335) | Greg de Lima | 2023-02-13 | 2 | -0/+56 |
| | | | Co-authored-by: Jean Abou-Samra <jean@abou-samra.fr> | ||||
* | Extend the AMDGPU lexer. (#2327) | Thomas Symalla | 2023-01-31 | 2 | -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) | German | 2023-01-30 | 3 | -66/+44 |
| | | | Co-authored-by: Jean Abou Samra <jean@abou-samra.fr> | ||||
* | Improve the Smithy metadata matcher. | Matthäus G. Chajdas | 2022-12-31 | 2 | -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. Chajdas | 2022-12-11 | 4 | -1766/+1766 |
| | |||||
* | Improve whitespace handling in XQueryLexer. | Matthäus G. Chajdas | 2022-12-11 | 3 | -181/+181 |
| | |||||
* | Improve whitespace handling in VarnishLexer. | Matthäus G. Chajdas | 2022-12-11 | 1 | -407/+407 |
| | |||||
* | Improve whitespace handling in SLexer. | Matthäus G. Chajdas | 2022-12-11 | 2 | -361/+361 |
| | |||||
* | Improve whitespace handling in Python. | Matthäus G. Chajdas | 2022-12-11 | 14 | -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. Chajdas | 2022-12-11 | 1 | -2/+2 |
| | |||||
* | Improve whitespace handling in PraatLexer. | Matthäus G. Chajdas | 2022-12-11 | 1 | -118/+149 |
| | |||||
* | Add support for PortugolLexer (#2300) | Lorhan Sohaky | 2022-12-10 | 2 | -0/+1379 |
| | |||||
* | Improve whitespace handling in PraatLexer. | Matthäus G. Chajdas | 2022-12-04 | 1 | -864/+864 |
| | |||||
* | Improve whitespace handling in TealLexer. | Matthäus G. Chajdas | 2022-12-04 | 1 | -10/+10 |
| | |||||
* | Improve whitespace handling in XmlLexer. | Matthäus G. Chajdas | 2022-12-04 | 9 | -5359/+7325 |
| | |||||
* | Improve whitespace handling in PythonTracebackLexer. | Matthäus G. Chajdas | 2022-12-04 | 12 | -147/+147 |
| | |||||
* | Improve whitespace handling in Make/BashLexer. | Matthäus G. Chajdas | 2022-12-04 | 5 | -549/+549 |
| | |||||
* | Improve whitespace handling in CMake/RegexLexer. | Matthäus G. Chajdas | 2022-12-04 | 52 | -7591/+7591 |
| | |||||
* | Improve whitespace handling in the PascalLexer. | Matthäus G. Chajdas | 2022-12-04 | 2 | -9095/+9095 |
| | |||||
* | Improve whitespace handling in the BashLexer. | Matthäus G. Chajdas | 2022-12-04 | 15 | -8431/+8431 |
| | |||||
* | Improve whitespace handling in Markdown. | Matthäus G. Chajdas | 2022-12-04 | 1 | -8/+8 |
| | |||||
* | Fix whitespace handling in Ruby. | Matthäus G. Chajdas | 2022-12-04 | 14 | -7728/+7728 |
| | |||||
* | fix solidity lexer not picking up many of the language operators | Michael Rodler | 2022-12-03 | 2 | -47/+536 |
| | |||||
* | NixLexer: fix "1 token per char" | Jean Abou Samra | 2022-12-03 | 1 | -113/+9 |
| | |||||
* | nix: allow single quotes inside single-quoted strings (#2289) | Naïm Favier | 2022-12-03 | 2 | -1/+7 |
| | |||||
* | Add support for Wren language (#2271) | PureFox48 | 2022-11-29 | 2 | -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-29 | 8 | -0/+4019 |
| | | | | (#2276) |