Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | all: convert "re" to "regex"regex | Georg Brandl | 2022-10-27 | 96 | -98/+107 |
| | |||||
* | all: move often-used "line_re" to pygments.lexer | Georg Brandl | 2022-10-27 | 16 | -49/+15 |
| | |||||
* | all: style fixes | Georg Brandl | 2022-10-27 | 106 | -925/+705 |
| | |||||
* | sphinxext: style fixups | Georg Brandl | 2022-10-26 | 1 | -5/+6 |
| | |||||
* | Arturo: add to changelog, style fixups | Georg Brandl | 2022-10-26 | 1 | -72/+58 |
| | |||||
* | Add support for Arturo language (#2259) | RickBarretto | 2022-10-26 | 2 | -0/+265 |
| | |||||
* | Rename aliases -> short names for consistency. | Matthäus G. Chajdas | 2022-10-24 | 1 | -2/+2 |
| | |||||
* | Improve the languages list. | Matthäus G. Chajdas | 2022-10-24 | 1 | -0/+61 |
| | | | | | | * Move the generation into sphinext, similar to other overviews we have. * Generate a table instead of the plain list. This table contains links to the lexer class now. | ||||
* | C#: recognize Operators as such, fix split-up numeric literals | Georg Brandl | 2022-10-22 | 1 | -2/+9 |
| | | | | Fixes #2256 | ||||
* | dotnet: code style fixup | Georg Brandl | 2022-10-22 | 1 | -16/+17 |
| | |||||
* | add local: to powershell keywords (#2254) | grzyb0w | 2022-10-16 | 1 | -1/+1 |
| | | | Co-authored-by: chsh <chuanshu@sheasecurity.com> | ||||
* | Add fift language (#2249) | Dan Volkov | 2022-09-29 | 2 | -0/+69 |
| | |||||
* | Fix Sphinx warnings in doc build | Jean Abou Samra | 2022-09-28 | 2 | -0/+4 |
| | |||||
* | Add tl-b lexer (#2247) | Dan Volkov | 2022-09-26 | 2 | -0/+58 |
| | |||||
* | Fix: Issues with .properties format using whitespace delimited key (#2241) | jmzambon | 2022-09-25 | 1 | -8/+20 |
| | | | | | | | | | Added: - support for space delimitor in every case, included multiline value - check for odd number of backslash escapes - "!" as comment start - support for escape of spaces and separators Dropped: - undocumented ";" and "//" comment start | ||||
* | Improve Clay, Autohotkey lexers. (#2248) | Matthäus G. Chajdas | 2022-09-25 | 2 | -3/+3 |
| | | | Merge consecutive tokens together where possible. | ||||
* | Fix regexlint warnings caused by limitations of regexlint | Jean Abou Samra | 2022-09-25 | 1 | -5/+5 |
| | |||||
* | Updates from review. | Aaron Bentley | 2022-09-25 | 1 | -2/+5 |
| | |||||
* | Switch to \w | Aaron Bentley | 2022-09-25 | 1 | -2/+1 |
| | |||||
* | Use include instead of plus sign. | Aaron Bentley | 2022-09-25 | 1 | -46/+57 |
| | |||||
* | Use words() with suffix inline. | Aaron Bentley | 2022-09-25 | 1 | -7/+4 |
| | |||||
* | Copyright and tweaks. | Aaron Bentley | 2022-09-25 | 1 | -13/+19 |
| | |||||
* | Combine regexes | Aaron Bentley | 2022-09-25 | 1 | -2/+1 |
| | | | Co-authored-by: Jean Abou-Samra <jean@abou-samra.fr> | ||||
* | Use words() | Aaron Bentley | 2022-09-25 | 1 | -3/+6 |
| | |||||
* | Add Jsonnet support | Aaron Bentley | 2022-09-25 | 2 | -0/+161 |
| | |||||
* | Update nimrod.py lexer (#1970) | matkuki | 2022-09-24 | 1 | -13/+52 |
| | | | Co-authored-by: Jean Abou-Samra <jean@abou-samra.fr> | ||||
* | Fix minor documentation around WoWToCLexer (#2245) | Tim Martin | 2022-09-22 | 1 | -2/+4 |
| | |||||
* | Add World of Warcraft TOC file lexer (#2244) | Tim Martin | 2022-09-21 | 2 | -0/+115 |
| | | | Also fix a broken link and decode as UTF8 in count_token_references.py. | ||||
* | HTTP: add CONNECT keyword (#2242) | cmedrala | 2022-09-21 | 1 | -2/+2 |
| | |||||
* | Adding MIPS Lexer (#2228) | davisrichard437 | 2022-09-21 | 2 | -0/+127 |
| | |||||
* | Add func lexer (#2232) | Dan Volkov | 2022-09-18 | 2 | -0/+109 |
| | |||||
* | Fix syntax highlighting of INI language (#2217) | jmzambon | 2022-09-15 | 1 | -2/+11 |
| | | | | | Make it parse comments that are not their own line. Co-authored-by: Jean Abou-Samra <jean@abou-samra.fr> | ||||
* | Add Phix (#2222) | Pete Lomax | 2022-09-15 | 2 | -0/+365 |
| | |||||
* | Objective-J: fix catastrophic backtracking in comment regex (#2225) | Jean Abou-Samra | 2022-09-15 | 1 | -1/+1 |
| | | | | | | This use of *? was both incorrect and catastrophically backtracking when embedding this regex into a larger regex with a trailing pattern, since it could match much more than intended and try exponentially many positions in that process. | ||||
* | Add `.pyi` file to `python` lexer filenames (#2231) | Nikita Sobolev | 2022-09-15 | 2 | -1/+3 |
| | |||||
* | Add { and } to punctuation for GNU Assembly lexer (#2230) | Nils Husung | 2022-09-14 | 1 | -1/+1 |
| | | | | | This allows lexing instructions like: vpscatterqd %ymm0, 0x404050(,%zmm2,4) {%k1} | ||||
* | [Spice] Add new keywords and fix bugs (#2227) | Marc Auberer | 2022-09-13 | 1 | -8/+8 |
| | | | | | | | | | | | | | * Cleanup * Add scope access operator * Add enum keyword * Update test ref * Fix bug for tokenizing number formats * Add pr to CHANGES | ||||
* | Fix the lexing of Inform 6 properties and doubles (#2214) | David Corbett | 2022-08-22 | 1 | -5/+7 |
| | |||||
* | Improve NASM lexer (#2212) | Fanael Linithien | 2022-08-19 | 1 | -3/+4 |
| | | | | Adds support for SSE/AVX/AVX-512 registers and 'rel' and 'abs' address operators. | ||||
* | Add GAP console session mode (#2211) | Max Horn | 2022-08-19 | 5 | -5/+75 |
| | | | | | | | | | | * 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 | ||||
* | CFamilyLexer: Fix matching of function parameters (#2210) | amitkummer | 2022-08-18 | 1 | -8/+8 |
| | | | | | | | | | | | | | | This fixes an issue where in code like this: ``` int foo(float bar) // hello() {} ``` The lexer would match `(float bar) // hello()` as the parameters of the function `foo`, instead of just `(float bar)`. In addition, a similar test case to what was originally reported in #2208 is added. | ||||
* | Prepare for 2.13.0 release. | Matthäus G. Chajdas | 2022-08-15 | 1 | -1/+1 |
| | |||||
* | Replace uses of `import *`. | Matthäus G. Chajdas | 2022-08-15 | 2 | -2/+4 |
| | |||||
* | Merge branch 'master' into pillow92 | Matthäus G. Chajdas | 2022-08-15 | 6 | -102/+203 |
|\ | |||||
| * | CFamilyLexer: refuse quotes between parentheses for function definitions and ↵ | Jean Abou-Samra | 2022-08-15 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | declarations (#2208) Something like id id2("){ ... }"); is no longer wrongly recognized as a "function" id id2(") { ... } "); As the difference in the tests shows, this has the unfortunate side effect that we no longer highlight something like int f(param="default"); as a function declaration, but it is hard to imagine another way to fix this (cf. “most vexing parse” problem). Fixes #2207 | ||||
| * | Fix glitch found by regexlint | Jean Abou Samra | 2022-08-15 | 1 | -2/+2 |
| | | |||||
| * | Fortran: fix catastrophic backtracking | Jean Abou Samra | 2022-08-15 | 1 | -2/+2 |
| | | | | | | | | \\\\|\\. is like \\. but causes catastrophic backtracking inside (...)* . | ||||
| * | LilyPond: add 6 missing builtins | Jean Abou Samra | 2022-08-15 | 1 | -72/+155 |
| | | | | | | | | | | | | | | Fix problem reported at https://lists.gnu.org/archive/html/lilypond-user-fr/2022-04/msg00075.html Then update the autogenerated result. | ||||
| * | Disable highlighting of some escape codes for python bytes literals (#2204) | LaurenceWarne | 2022-08-15 | 1 | -7/+20 |
| | | | | | | | | | | | | | | | | Disable highlighting of unicode escape codes in python bytes literals, as described in https://docs.python.org/3/reference/lexical_analysis.html#string-and-bytes-literals. So escape codes of the form "\N{name}", "\uxxxx" and "\Uxxxxxxxx" will no longer be highlighted within bytes literals. Add tests for escape code highlighting in string and bytes literals. | ||||
| * | Update Spice lexer (#2206) | Marc Auberer | 2022-08-12 | 1 | -17/+19 |
| | |