Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add typedef back to the D lexer. | Matthäus G. Chajdas | 2020-02-29 | 1 | -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. Chajdas | 2020-02-29 | 1 | -1/+1 | |
|\ | | | | | | | https://github.com/kubo39/pygments into kubo39-dlang-remove-typedef-from-keywords | |||||
| * | D: remove typedef from keywords | Hiroki Noda | 2020-01-18 | 1 | -1/+1 | |
| | | | | | | | | ref: https://dlang.org/deprecate.html#typedef | |||||
* | | Add ReasonML lexer. (#1386) | Florian Hammerschmidt | 2020-02-29 | 2 | -2/+93 | |
| | | ||||||
* | | Remove Python 2 compatibility (#1348) | Georg Brandl | 2020-02-29 | 33 | -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-fstring | Matthäus G. Chajdas | 2020-02-29 | 1 | -15/+106 | |
|\ \ | | | | | | | Python f-strings: highlight expressions in curly braces | |||||
| * | | Python f-strings: highlight expressions in curly braces | Tomer Vromen | 2020-02-04 | 1 | -15/+106 | |
| | | | | | | | | | | | | Fixes #1228 | |||||
* | | | Mention MiniScript in language list/CHANGES, add versionadded. | Matthäus G. Chajdas | 2020-02-29 | 1 | -0/+2 | |
| | | | ||||||
* | | | Merge pull request #1397 from JoeStrout/add-miniscript | Matthäus G. Chajdas | 2020-02-29 | 2 | -2/+54 | |
|\ \ \ | | | | | | | | | Add support for the MiniScript embedded scripting language. | |||||
| * | | | Add support for the MiniScript embedded scripting language. | JoeStrout | 2020-02-20 | 2 | -2/+54 | |
| | | | | ||||||
* | | | | Move Python 3-only exceptions into Python3Lexer | Борис Верховский | 2020-02-26 | 1 | -3/+3 | |
|/ / / | ||||||
* | | | Add support for *.mjs JavaScript modules extension (#1392) | Alan Hamlett | 2020-02-12 | 2 | -2/+2 | |
| | | | ||||||
* | | | Support for *.eex files in ElixirLexer (#1387) | Alan Hamlett | 2020-02-11 | 2 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | * Support for *.eex files in ElixirLexer * update lexer mapping | |||||
* | | | Update Csound built-ins for v6.14.0 (#1383) | Nate Whetsell | 2020-02-09 | 2 | -5/+19 | |
| | | | | | | | | | | | | Update Csound built-ins for v6.14.0 | |||||
* | | | Merge pull request #1388 from ↵ | Matthäus G. Chajdas | 2020-02-09 | 3 | -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.match | Alan Hamlett | 2020-02-08 | 3 | -7/+7 | |
| |/ / | ||||||
* | | | Merge pull request #1375 from kubo39/dlang-add-FILE_FULL_PATH | Matthäus G. Chajdas | 2020-02-09 | 1 | -3/+3 | |
|\ \ \ | |/ / |/| | | D: add __FILE_FULL_PATH__ | |||||
| * | | D: add __FILE_FULL_PATH__ | Hiroki Noda | 2020-01-30 | 1 | -3/+3 | |
| | | | ||||||
* | | | Adds the walrus operator to the Python3 lexer. | Brett Slatkin | 2020-02-02 | 1 | -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) | Catatonic | 2020-02-02 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | * Fix glob patterns for directives like Include. * removing unnecessary escaping. | |||||
* | | | add filename for pipenv & poetry | tzing | 2020-02-01 | 3 | -4/+4 | |
|/ / | ||||||
* | | Add sieve as alias for Sieve. | Matthäus G. Chajdas | 2020-01-24 | 2 | -1/+2 | |
| | | ||||||
* | | Update CHANGES, language list, and regenerate mapfile. | Matthäus G. Chajdas | 2020-01-24 | 1 | -1/+1 | |
| | | ||||||
* | | Add lexer for LLVM's MIR format (#1361) | Daniel Sanders | 2020-01-24 | 2 | -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 Miller | 2020-01-19 | 1 | -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 Goodman | 2020-01-16 | 2 | -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 Buzdalov | 2020-01-16 | 1 | -0/+1 | |
| | ||||||
* | Merge pull request #1357 from rahulghangas/master | Matthäus G. Chajdas | 2020-01-12 | 1 | -7/+7 | |
|\ | | | | | Adding keywords for Chapel | |||||
| * | Adding keywords for Chapel according to release 1.20.0 and spec version 0.988 | Rahul Ghangas | 2020-01-13 | 1 | -7/+7 | |
| | | ||||||
* | | Merge pull request #1309 from pygments/671/upsuper/webidl | Matthäus G. Chajdas | 2020-01-12 | 2 | -0/+298 | |
|\ \ | |/ |/| | Add Web IDL lexer | |||||
| * | Merge branch 'master' into 671/upsuper/webidl | Matthäus G. Chajdas | 2020-01-07 | 37 | -218/+1289 | |
| |\ | | | | | | | | | | This allows us to resolve the merge conflict properly. | |||||
| * | | Fix a few regexlint warnings in the WebIDL lexer. | Matthäus G. Chajdas | 2020-01-07 | 1 | -2/+2 | |
| | | | ||||||
| * | | Add versionadded, fix conflict. | Matthäus G. Chajdas | 2020-01-07 | 1 | -0/+2 | |
| | | | ||||||
| * | | Add keyword suffix for builtin types | Xidorn Quan | 2019-11-28 | 1 | -1/+2 | |
| | | | ||||||
| * | | Break infinite loop around operation state | Xidorn Quan | 2019-11-28 | 1 | -1/+1 | |
| | | | ||||||
| * | | Fix long long type | Xidorn Quan | 2019-11-28 | 1 | -1/+1 | |
| | | | ||||||
| * | | Simplify regex for single line comments | Xidorn Quan | 2019-11-28 | 1 | -2/+2 | |
| | | | ||||||
| * | | Add suffix for all keyword regexs | Xidorn Quan | 2019-11-28 | 1 | -27/+31 | |
| | | | ||||||
| * | | Add Web IDL lexer | Xidorn Quan | 2019-11-28 | 2 | -0/+291 | |
| | | | ||||||
* | | | Update c_cpp.py to adds support for C++20 keywords | Hubert Gruniaux | 2020-01-05 | 1 | -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) | sblondon | 2020-01-04 | 2 | -0/+69 | |
| | | | | | | | | Add Sieve lexer | |||||
* | | Update CHANGES & map file. | Matthäus G. Chajdas | 2020-01-04 | 1 | -1/+1 | |
| | | | | | | | | Perl6/Raku update adds new file extensions, so regenerate the file mapping. | |||||
* | | Merge pull request #1344 from hankache/master | Matthäus G. Chajdas | 2020-01-04 | 1 | -69/+167 | |
|\ \ | | | | | | | Update Raku (Perl 6) keywords, classes, methods, etc. | |||||
| * | | Update Raku (Perl 6) keywords, classes, methods, etc. | Naoum Hankache | 2019-12-25 | 1 | -69/+167 | |
| | | | ||||||
* | | | haskell: Fix highlighting of promoted type operators (#1347) | Xia Li-yao | 2019-12-30 | 1 | -0/+1 | |
|/ / | | | | | | | | | | | | | * haskell: Fix highlighting of promoted type operators Fixes issue #527 Patch originally written by paamayim | |||||
* | | Fix directives that have 0 arguments | catatonicprime | 2019-12-19 | 1 | -2/+1 | |
| | | ||||||
* | | Update many links to use HTTPS and skip redirects | Kurt McKee | 2019-12-18 | 1 | -2/+2 | |
| | | ||||||
* | | all: fixup http->https for github, pypi, pocoo etc URLs | Georg Brandl | 2019-12-10 | 6 | -7/+7 | |
| | | ||||||
* | | make regexes consistent | Georg Brandl | 2019-12-09 | 1 | -1/+1 | |
| | | ||||||
* | | dmesg lexer refinements: | Georg Brandl | 2019-12-09 | 3 | -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 |