Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Revert "Remove filename pattern caches (#2153)" (#2328) | Dirk Mueller | 2023-01-31 | 1 | -5/+16 | |
| | | | | | | | | This introduced a performance regession. While it is true that fnmatch already uses functools.lru_cache, that cache is limited to 256 on python 3.10 and older and we have over 1000 matching patterns, which means the cache is evicted entirely on every iteration. This reverts commit 951c894ab23537be90fbf3973d0345591e682371. | |||||
* | Extend the AMDGPU lexer. (#2327) | Thomas Symalla | 2023-01-31 | 1 | -2/+3 | |
| | | | | | 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 | 1 | -17/+162 | |
| | | | Co-authored-by: Jean Abou Samra <jean@abou-samra.fr> | |||||
* | Add support for normal diff syntax (#2321) | CosmicHorror | 2023-01-29 | 1 | -5/+8 | |
| | ||||||
* | LilyPond: fixups for builtins | Jean Abou Samra | 2023-01-14 | 1 | -13/+59 | |
| | | | | These were reported privately to me by Federico Bruni. | |||||
* | Improve the Smithy metadata matcher. | Matthäus G. Chajdas | 2022-12-31 | 1 | -2/+3 | |
| | | | | | | 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>. | |||||
* | Add `filenames` pattern for `HspecLexer` | Simon Hengel | 2022-12-27 | 2 | -2/+2 | |
| | ||||||
* | Update Macaulay2 symbols for version 1.21 (#2305) | Doug Torrance | 2022-12-15 | 1 | -3/+18 | |
| | ||||||
* | Improve whitespace handling in MesonLexer/PerlLexer. | Matthäus G. Chajdas | 2022-12-11 | 2 | -13/+13 | |
| | ||||||
* | Improve whitespace handling in XQueryLexer. | Matthäus G. Chajdas | 2022-12-11 | 1 | -56/+76 | |
| | ||||||
* | Improve whitespace handling in VarnishLexer. | Matthäus G. Chajdas | 2022-12-11 | 1 | -4/+4 | |
| | ||||||
* | Improve whitespace handling in SLexer. | Matthäus G. Chajdas | 2022-12-11 | 1 | -2/+2 | |
| | ||||||
* | Improve whitespace handling in Python. | Matthäus G. Chajdas | 2022-12-11 | 1 | -20/+20 | |
| | | | | | | | | | 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 lint warning. | Matthäus G. Chajdas | 2022-12-11 | 1 | -1/+1 | |
| | ||||||
* | Improve whitespace handling in PraatLexer. | Matthäus G. Chajdas | 2022-12-11 | 1 | -12/+14 | |
| | ||||||
* | Portugol touch-ups | Jean Abou Samra | 2022-12-10 | 1 | -0/+2 | |
| | ||||||
* | Add support for PortugolLexer (#2300) | Lorhan Sohaky | 2022-12-10 | 3 | -55/+189 | |
| | ||||||
* | Improve whitespace handling in PraatLexer. | Matthäus G. Chajdas | 2022-12-04 | 1 | -25/+25 | |
| | ||||||
* | Improve whitespace handling in TealLexer. | Matthäus G. Chajdas | 2022-12-04 | 1 | -4/+5 | |
| | ||||||
* | Improve whitespace handling in XmlLexer. | Matthäus G. Chajdas | 2022-12-04 | 1 | -4/+5 | |
| | ||||||
* | Improve whitespace handling in PythonTracebackLexer. | Matthäus G. Chajdas | 2022-12-04 | 1 | -8/+8 | |
| | ||||||
* | Improve whitespace handling in Make/BashLexer. | Matthäus G. Chajdas | 2022-12-04 | 2 | -5/+8 | |
| | ||||||
* | Improve whitespace handling in CMake/RegexLexer. | Matthäus G. Chajdas | 2022-12-04 | 1 | -3/+3 | |
| | ||||||
* | Improve whitespace handling in the PascalLexer. | Matthäus G. Chajdas | 2022-12-04 | 1 | -3/+3 | |
| | ||||||
* | Improve whitespace handling in the BashLexer. | Matthäus G. Chajdas | 2022-12-04 | 1 | -4/+4 | |
| | ||||||
* | Improve whitespace handling in Markdown. | Matthäus G. Chajdas | 2022-12-04 | 1 | -4/+4 | |
| | ||||||
* | Fix whitespace handling in Ruby. | Matthäus G. Chajdas | 2022-12-04 | 1 | -17/+17 | |
| | ||||||
* | remove `:` from the Punctuation regex in the SolidityLexer | Michael Rodler | 2022-12-03 | 1 | -1/+1 | |
| | ||||||
* | fix solidity lexer not picking up many of the language operators | Michael Rodler | 2022-12-03 | 1 | -1/+1 | |
| | ||||||
* | NixLexer: fix "1 token per char" | Jean Abou Samra | 2022-12-03 | 1 | -2/+2 | |
| | ||||||
* | nix: allow single quotes inside single-quoted strings (#2289) | Naïm Favier | 2022-12-03 | 1 | -0/+1 | |
| | ||||||
* | Add support for Wren language (#2271) | PureFox48 | 2022-11-29 | 2 | -0/+100 | |
| | | | 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 | 2 | -11/+98 | |
| | | | | (#2276) | |||||
* | LilyPond: slightly improve lexing (#2283) | Werner Lemberg | 2022-11-27 | 1 | -11/+37 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Handle `--` and `__` as `Token.Punctuation` only if preceded by whitespace: ``` <whitespace> -- ==> hyphen (in lyrics mode) <whitespace> __ ==> extender line (in lyrics mode) -- ==> tenuto, neutral attachment (in music mode) __ ==> portato, down attachment (in music mode) ``` * Handle `-` followed by a number as `Token.Number` only if preceded by whitespace. This is purely heuristic, derived from the coding style shown in the LilyPond manuals. ``` <whitespace> -3 ==> integer (e.g., as a function argument) -3 ==> fingering instruction ``` * Add forgotten `\maxima` note duration. * Some legibility improvements by using verbose mode for regular expressions. * Some comment additions and fixes. * Update tests. | |||||
* | add abap keywords (#2281) | Christian Aasan | 2022-11-26 | 1 | -5/+5 | |
| | ||||||
* | Added support for F# script files, aka .fsx files (#2282) | Alan Ball | 2022-11-26 | 2 | -2/+2 | |
| | ||||||
* | Add the NASM file format supports | Ashraf Ali S | 2022-11-19 | 2 | -2/+2 | |
| | | | | | | | | | | 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> | |||||
* | Update Alloy for Alloy 6 (PR #1963) manual cherry-pick | Hillel | 2022-11-19 | 1 | -7/+15 | |
| | ||||||
* | Accept colon(s) in YAML key names | Greg Dubicki | 2022-11-14 | 1 | -1/+1 | |
| | | | | | as it's ok according to the YAML specs and is widely used in the real world, f.e. in Puppet's Hiera (https://puppet.com/docs/puppet/7/hiera_quick.html#values_common_data) | |||||
* | Add opaque pointer type to LLVM IR lexer | Vladimir Vuksanovic | 2022-10-31 | 1 | -1/+1 | |
| | | | | Reference: https://llvm.org/docs/OpaquePointers.html | |||||
* | Csound: update for Csound 6.18.0 (#2268) | Nate Whetsell | 2022-10-29 | 1 | -1/+6 | |
| | ||||||
* | shell session: allow continuation without marker for PowerShell | Georg Brandl | 2022-10-28 | 1 | -4/+12 | |
| | | | | Fixes #2262 | |||||
* | all: move often-used "line_re" to pygments.lexer | Georg Brandl | 2022-10-27 | 15 | -48/+13 | |
| | ||||||
* | all: style fixes | Georg Brandl | 2022-10-27 | 99 | -894/+690 | |
| | ||||||
* | 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 | |
| | ||||||
* | 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 | |
| |