summaryrefslogtreecommitdiff
path: root/pygments
Commit message (Collapse)AuthorAgeFilesLines
...
* Add typedef back to the D lexer.Matthäus G. Chajdas2020-02-291-0/+5
| | | | | Put it into a new category, Keyword.Removed, so it's not completely gone.
* Merge branch 'dlang-remove-typedef-from-keywords' of ↵Matthäus G. Chajdas2020-02-291-1/+1
|\ | | | | | | https://github.com/kubo39/pygments into kubo39-dlang-remove-typedef-from-keywords
| * D: remove typedef from keywordsHiroki Noda2020-01-181-1/+1
| | | | | | | | ref: https://dlang.org/deprecate.html#typedef
* | Add ReasonML lexer. (#1386)Florian Hammerschmidt2020-02-292-2/+93
| |
* | Remove Python 2 compatibility (#1348)Georg Brandl2020-02-2933-191/+99
| | | | | | | | | | | | | | | | | | | | | | * Remove Python 2 compatibility * remove 2/3 shims in pygments.util * update setup.py metadata * Remove unneeded object inheritance. * Remove unneeded future imports.
* | Merge pull request #1385 from tomerv/python-fstringMatthäus G. Chajdas2020-02-291-15/+106
|\ \ | | | | | | Python f-strings: highlight expressions in curly braces
| * | Python f-strings: highlight expressions in curly bracesTomer Vromen2020-02-041-15/+106
| | | | | | | | | | | | Fixes #1228
* | | Mention MiniScript in language list/CHANGES, add versionadded.Matthäus G. Chajdas2020-02-291-0/+2
| | |
* | | Merge pull request #1397 from JoeStrout/add-miniscriptMatthäus G. Chajdas2020-02-292-2/+54
|\ \ \ | | | | | | | | Add support for the MiniScript embedded scripting language.
| * | | Add support for the MiniScript embedded scripting language.JoeStrout2020-02-202-2/+54
| | | |
* | | | Move Python 3-only exceptions into Python3LexerБорис Верховский2020-02-261-3/+3
|/ / /
* | | Add support for *.mjs JavaScript modules extension (#1392)Alan Hamlett2020-02-122-2/+2
| | |
* | | Support for *.eex files in ElixirLexer (#1387)Alan Hamlett2020-02-112-2/+2
| | | | | | | | | | | | | | | | | | * Support for *.eex files in ElixirLexer * update lexer mapping
* | | Update Csound built-ins for v6.14.0 (#1383)Nate Whetsell2020-02-092-5/+19
| | | | | | | | | | | | Update Csound built-ins for v6.14.0
* | | Merge pull request #1388 from ↵Matthäus G. Chajdas2020-02-093-7/+7
|\ \ \ | | | | | | | | | | | | | | | | alanhamlett/regex-search-does-not-work-with-multiline Multiline flag does not work with re.match
| * | | Multiline flag does not work with re.matchAlan Hamlett2020-02-083-7/+7
| |/ /
* | | Merge pull request #1375 from kubo39/dlang-add-FILE_FULL_PATHMatthäus G. Chajdas2020-02-091-3/+3
|\ \ \ | |/ / |/| | D: add __FILE_FULL_PATH__
| * | D: add __FILE_FULL_PATH__Hiroki Noda2020-01-301-3/+3
| | |
* | | Adds the walrus operator to the Python3 lexer.Brett Slatkin2020-02-021-1/+1
| | | | | | | | | | | | | | | | | | | | | - The walrus operator, also known as assignment expressions, was introduced in Python 3.8 - Moves the Token.Operator matching root above Token.Punctuation so the walrus operator takes precedence - Includes a test to make sure this behavior doesn't regress since it's sensitive to the order of expressions - Fixes #1381
* | | Fix glob patterns when absolute paths are used (#1378)Catatonic2020-02-021-1/+1
| | | | | | | | | | | | | | | | | | * Fix glob patterns for directives like Include. * removing unnecessary escaping.
* | | add filename for pipenv & poetrytzing2020-02-013-4/+4
|/ /
* | Add sieve as alias for Sieve.Matthäus G. Chajdas2020-01-242-1/+2
| |
* | Update CHANGES, language list, and regenerate mapfile.Matthäus G. Chajdas2020-01-241-1/+1
| |
* | Add lexer for LLVM's MIR format (#1361)Daniel Sanders2020-01-242-5/+219
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MIR is a human readable serialization format that's used to represent LLVM's machine specific intermediate representation. It allows LLVM's developers to see the state of the compilation process at various points, as well as test individual pieces of the compiler. Our documentation for the format can be found at https://llvm.org/docs/MIRLangRef.html. Adding a lexer for this format will allow the LLVM documentation to contain syntax highlighted examples of LLVM-MIR. Two lexers are included in this change. 'llvm-mir' lexes the overall document format and delegates to 'llvm' and 'llvm-mir-body' as appropriate. 'llvm-mir-body' lexes the contents of the 'body:' attribute and can be used directly to syntax highlight code examples without including the document boilerplate. Since the 'llvm-mir' lexer delegates to the 'llvm' lexer at times, this change also adds the 'immarg' and 'willreturn' keywords to the 'llvm' lexer as these were missing.
* | Correct lexing of Idris compiler directives (#1363)Molly Miller2020-01-191-1/+1
|/ | | | | | | | | | | * Fix lexing of Idris compiler pragmas. The regex for capturing Idris compiler pragmas did not separate the leading percent sign from the disjunction of compiler directives correctly, which caused issues such as "import" or "namespace" keywords to be mishighlighted, due to confusion with the "%import" and "%name" compiler pragmas. * Add unit test for Idris compiler directive lexing
* Add a PEG (Parsing Expression Grammar) lexer (#1336)Michael Wayne Goodman2020-01-162-1/+59
| | | | | * Add a PEG (Parsing Expression Grammar) lexer * Add PEG to doc/languages.rst and indicate version
* Lacking keywords were added to the Idris lexer.Denis Buzdalov2020-01-161-0/+1
|
* Merge pull request #1357 from rahulghangas/masterMatthäus G. Chajdas2020-01-121-7/+7
|\ | | | | Adding keywords for Chapel
| * Adding keywords for Chapel according to release 1.20.0 and spec version 0.988Rahul Ghangas2020-01-131-7/+7
| |
* | Merge pull request #1309 from pygments/671/upsuper/webidlMatthäus G. Chajdas2020-01-122-0/+298
|\ \ | |/ |/| Add Web IDL lexer
| * Merge branch 'master' into 671/upsuper/webidlMatthäus G. Chajdas2020-01-0737-218/+1289
| |\ | | | | | | | | | This allows us to resolve the merge conflict properly.
| * | Fix a few regexlint warnings in the WebIDL lexer.Matthäus G. Chajdas2020-01-071-2/+2
| | |
| * | Add versionadded, fix conflict.Matthäus G. Chajdas2020-01-071-0/+2
| | |
| * | Add keyword suffix for builtin typesXidorn Quan2019-11-281-1/+2
| | |
| * | Break infinite loop around operation stateXidorn Quan2019-11-281-1/+1
| | |
| * | Fix long long typeXidorn Quan2019-11-281-1/+1
| | |
| * | Simplify regex for single line commentsXidorn Quan2019-11-281-2/+2
| | |
| * | Add suffix for all keyword regexsXidorn Quan2019-11-281-27/+31
| | |
| * | Add Web IDL lexerXidorn Quan2019-11-282-0/+291
| | |
* | | Update c_cpp.py to adds support for C++20 keywordsHubert Gruniaux2020-01-051-2/+3
| |/ |/| | | The soon C++20 newcomer standard will introduce lots of new keywords like `constinit`, `co_yield` (for courotines), `import` or`module` (for modules, however these are special identifiers instead of real keywords), etc...
* | Add Sieve lexer (#1257)sblondon2020-01-042-0/+69
| | | | | | | | Add Sieve lexer
* | Update CHANGES & map file.Matthäus G. Chajdas2020-01-041-1/+1
| | | | | | | | Perl6/Raku update adds new file extensions, so regenerate the file mapping.
* | Merge pull request #1344 from hankache/masterMatthäus G. Chajdas2020-01-041-69/+167
|\ \ | | | | | | Update Raku (Perl 6) keywords, classes, methods, etc.
| * | Update Raku (Perl 6) keywords, classes, methods, etc.Naoum Hankache2019-12-251-69/+167
| | |
* | | haskell: Fix highlighting of promoted type operators (#1347)Xia Li-yao2019-12-301-0/+1
|/ / | | | | | | | | | | | | * haskell: Fix highlighting of promoted type operators Fixes issue #527 Patch originally written by paamayim
* | Fix directives that have 0 argumentscatatonicprime2019-12-191-2/+1
| |
* | Update many links to use HTTPS and skip redirectsKurt McKee2019-12-181-2/+2
| |
* | all: fixup http->https for github, pypi, pocoo etc URLsGeorg Brandl2019-12-106-7/+7
| |
* | make regexes consistentGeorg Brandl2019-12-091-1/+1
| |
* | dmesg lexer refinements:Georg Brandl2019-12-093-62/+52
| | | | | | | | | | | | * move to textfmts.py where other logfiles are * fix detection of dmesg -x (heuristic "unknown" state must be last) * change styles for debug/warn lines