Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | 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 | 30 | -204/+1221 | |
| |\ | | | | | | | | | | 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 | |
| | | ||||||
* | | 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 | |||||
* | | This commit adds a lexer for linux kernel logs as outputted by `dmesg` | martijn@msi.localhost | 2019-12-09 | 2 | -0/+60 | |
| | | | | | | | | | | | | | | | | It supports output from `dmesg`, in that case it highlights based on keywords in the line It can also highlight `dmesg -x` output. In that case it uses the loglevels from the kernel to highlight the lines. | |||||
* | | tests: remove special skip cases for random_input test case | Georg Brandl | 2019-12-09 | 3 | -4/+8 | |
| | | ||||||
* | | Mosel: style fixes, add changelog entry etc | Georg Brandl | 2019-12-08 | 2 | -402/+408 | |
| | | ||||||
* | | Update operators and punctuation. Reorder '::' and ':', remove redundant ↵ | J. C. Müller | 2019-12-08 | 1 | -2/+2 | |
| | | | | | | | | ':', remove '=='. | |||||
* | | Add all functions of mmxprs, mmsystem and mmjobs. | jcmuel | 2019-12-08 | 1 | -66/+342 | |
| | | ||||||
* | | Add keywords, define types and operators. Remove parameters. Delete test ↵ | jcmuel | 2019-12-08 | 1 | -24/+25 | |
| | | | | | | | | file with incompatible license. | |||||
* | | Add Mosel lexer. | German Riano | 2019-12-08 | 2 | -0/+166 | |
| | | ||||||
* | | Fix valid_name regex for SLexer (#1333) | Georg Brandl | 2019-12-08 | 1 | -1/+1 | |
|\ \ | | | | | | | Fix valid_name regex for SLexer | |||||
| * | | Fix valid_name regex for SLexer | Nikolay Korolev | 2019-12-07 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes #1331 All modifications to regex: 1. Delete 2 useless non-capturing groups 2. Variables can not start with underscore (_) 3. Only letters, dot (.) and underscore (_) can go after first dot (.) in name 4. Name from only one symbol dot (.) is possible | |||||
* | | | Fixing parsing of numeric literals | gusthoff | 2019-12-06 | 1 | -1/+1 | |
|/ / | | | | | | | Reasoning: Ada allows formats such as 2#1111_0000# and 2#1111.0000# | |||||
* | | More fixes to MATLAB lexer. (#1328) | Georg Brandl | 2019-12-06 | 1 | -4/+5 | |
|\ \ | | | | | | | More fixes to MATLAB lexer. | |||||
| * | | More fixes to MATLAB lexer. | Antony Lee | 2019-12-06 | 1 | -4/+5 | |
| | | | ||||||
* | | | Parse HTTP status-line even when reason-phrase not included. (#1322) | Georg Brandl | 2019-12-06 | 1 | -3/+3 | |
|\ \ \ | | | | | | | | | Parse HTTP status-line even when reason-phrase not included. | |||||
| * | | | Make the optional reason-phrase regexp group non-capturing. | Jakub Roztocil | 2019-12-03 | 1 | -3/+3 | |
| | | | | ||||||
| * | | | Parse HTTP status-line even when reason-phrase not included. | Jakub Roztocil | 2019-12-02 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | Background: https://github.com/jakubroztocil/httpie/issues/811 | |||||
* | | | | USD: post-merge nits | Georg Brandl | 2019-12-06 | 2 | -78/+39 | |
| | | | | ||||||
* | | | | Add USD lexer (#1290) | Georg Brandl | 2019-12-06 | 3 | -0/+237 | |
|\ \ \ \ | | | | | | | | | | | Add USD lexer |