summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Use a better pattern for HostCode704/kenzierocks/antlrv4Kenzie Togami2019-11-271-20/+24
|
* Fix some regexes in ANTLR4LexerKenzie Togami2019-11-271-11/+17
|
* Added ANTLR v4 lexerKenzie Togami2019-11-275-4/+1596
|
* recognize escapes in Matlab double quoted stringsGeorg Brandl2019-11-272-1/+7
|
* sql: style fixesGeorg Brandl2019-11-271-89/+104
|
* Fixes #1124Jan Siqueira2019-11-271-0/+2
|
* MATLAB allows keywords to be used as field names.Antony Lee2019-11-271-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | ... so don't highlight them as keywords in that position. Example MATLAB session showcasing this "feature": >> x.for = 42 x = struct with fields: for: 42 >> x x = struct with fields: for: 42 >> x.for ans = 42
* reStructuredText: highlight only field list markersEric Knibbe2019-11-271-4/+3
|
* Reserve new version in CHANGES.Matthäus G. Chajdas2019-11-261-0/+4
|
* Bump version to 2.5.1.2.5.1Matthäus G. Chajdas2019-11-263-2/+5
|
* Merge pull request #1283 from pygments/fix/1280Matthäus G. Chajdas2019-11-261-1/+1
|\ | | | | Exclude tests from distribution -- fix #1280
| * Exclude tests from distribution.Matthäus G. Chajdas2019-11-261-1/+1
|/ | | | The tests package is found as a package due to presence of __init__.py. Use include to ensure only pygments gets installed.
* Reserve new version in CHANGES.Matthäus G. Chajdas2019-11-261-0/+3
|
* Bump version number.2.5.0Matthäus G. Chajdas2019-11-262-2/+2
|
* Update docs for 2.5 release.Matthäus G. Chajdas2019-11-262-18/+31
|
* Merge pull request #1277 from jjatria/praat-interpolationMatthäus G. Chajdas2019-11-263-41/+183
|\ | | | | Improve detection of Praat interpolated variables
| * Improve detection of Praat interpolated variablesJosé Joaquín Atria2019-11-253-41/+183
| | | | | | | | Changes squashed / updated from https://bitbucket.org/birkenfeld/pygments-main/pull-requests/586
* | Add Solidity lexer.Georg Brandl2019-11-264-0/+169
| | | | | | | | Fixes #1214
* | Python: recognize "f" string prefixGeorg Brandl2019-11-262-8/+11
| | | | | | | | Fixes #1156
* | html formatter: lineseparator needs to be unicodeGeorg Brandl2019-11-261-1/+1
| | | | | | | | Fixes #1053
* | Juttle: style fixesGeorg Brandl2019-11-261-7/+14
| |
* | Python: make Python3 rules standaloneGeorg Brandl2019-11-261-231/+303
| | | | | | | | | | As the language develops further, having to override more and more of the Python 2 lexer tokens makes no sense anymore.
* | Python: make "python" shebang match Python 3Georg Brandl2019-11-261-2/+2
| |
* | Update changelogGeorg Brandl2019-11-261-1/+7
| |
* | Add Notmuch lexerDaniel Santana2019-11-263-3/+104
| |
* | Set BroLexer = ZeekLexerJon Siwek2019-11-252-15/+5
| | | | | | | | This also removes BroLexer from LEXERS.
* | Simplify/improve ZeekLexer patternsJon Siwek2019-11-252-29/+30
| | | | | | | | | | | | | | | | | | | | Addresses feedback from PR review: * Use \w instead of [A-Za-z0-9_] * Simplify IPv4/IPv6 addresses * Remove superfluous leading \b's * Change characters used in "ternary if" from Operator to Punctuation * Remove ZeekLexer from "other.py" compatibility file
* | Fix typo in ZeekLexer commentJon Siwek2019-11-251-1/+1
| |
* | Add Zeek lexer based on the Bro lexerJon Siwek2019-11-255-56/+329
| | | | | | | | | | | | | | Bro has been renamed to Zeek, but the language is essentially the same without any different treatment of .zeek files from .bro files. This change also adds general improvements to the lexer.
* | Assume setuptools is availableJon Dufresne2019-11-252-28/+5
| | | | | | | | | | | | | | On modern Python installations, setuptools should always be available and should always be preferred. Can remove the fallback to distutils. Replace the pygmentize script with a __main__.py in the package.
* | autopygmentize: various improvements and fixesReuben Thomas2019-11-251-23/+29
|/
* Fix #1253.Matthäus G. Chajdas2019-11-253-8/+42
|
* Update project to use modern Python features and idiomsJon Dufresne2019-11-2521-154/+154
| | | | | | | | | | Run the pyupgrade tool across the project to use modern language features. - Use set literals - Use dict comprehension - Remove unnecessary numeric indexes in format string - Remove unnecessary extra parentheses
* Add New Style: InkpotCampbell Barton2019-11-253-0/+73
| | | | | | | | | | Based on the Vim theme: http://www.vim.org/scripts/script.php?script_id=1143 Example output: http://members.iinet.net.au/~ideasman42/dotemacs/init.html The theme is also bundled with qt-creator and available from emacs package manager. Also, there aren't many nice dark themes for Pygments at the moment.
* Update Logtalk lexer for the latest language specificationPaulo Moura2019-11-251-23/+24
|
* MATLAB: Recognize command form.Antony Lee2019-11-251-8/+23
| | | | | | MATLAB treats a bare word followed by arguments such as `foo bar baz` as the function call `foo('bar', 'baz')`. As such, treat everything that follows the bare word as a string.
* MATLAB: improve detection and float boundaries.Antony Lee2019-11-251-6/+14
| | | | | | | - Detect `.m` files starting with a function definition as MATLAB, not ObjC (#1149). - Require word boundaries in regexes matching numbers and floats, to avoid mishighlighting `load 123file` as starting with a number.
* move pyodide artifacts to separate repoGeorg Brandl2019-11-259-449/+7
|
* scdoc: add missing module docstringGeorg Brandl2019-11-251-0/+11
|
* Add Lexer for scdocStefan Tatschner2019-11-253-0/+257
| | | | | | | | | | The scdoc markup language is increasingly used by the Wayland community for writing manpages. Examples are: * https://git.sr.ht/~sircmpwn/scdoc/tree/master/scdoc.5.scd * https://github.com/swaywm/sway/blob/master/sway/sway.1.scd * https://github.com/swaywm/swayidle/blob/master/swayidle.1.scd * https://git.sr.ht/~sircmpwn/aerc/tree/master/doc/aerc-tutorial.7.scd
* tests: set STORE_OUTPUT to false and explain itGeorg Brandl2019-11-251-1/+4
|
* resource, robotframework: stop hogging the .txt extensionGeorg Brandl2019-11-254-4/+5
|
* formatters.other: style/import fixupsGeorg Brandl2019-11-251-1/+5
|
* Verilog: get rid of "uppercase is constant" highlightingGeorg Brandl2019-11-241-66/+60
| | | | Seems quite arbitrary and has raised eyebrows (fixes #1204)
* misc: fix synthesized tokens not using text_type (unicode)Georg Brandl2019-11-243-5/+5
| | | | Fixes the test failure seen at https://github.com/pygments/pygments/runs/318264350
* Python lexer: accept .jy filenamesGeorg Brandl2019-11-243-1/+4
| | | | Fixes #976
* Java: make it less operator-heavyGeorg Brandl2019-11-243-10/+14
| | | | Fixes #987
* doc/faq: add Spyder to users listGeorg Brandl2019-11-241-2/+3
| | | | Closes #1169
* Small readme overhaulsGeorg Brandl2019-11-241-9/+13
|
* Merge pull request #1265 from jdufresne/pythonsMatthäus G. Chajdas2019-11-243-2/+5
|\ | | | | Document and test all supported Python versions