| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
... 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
|
| | |
|
| | |
|
| | |
|
| |\
| |
| | |
Exclude tests from distribution -- fix #1280
|
| |/
|
|
| |
The tests package is found as a package due to presence of __init__.py. Use include to ensure only pygments gets installed.
|
| | |
|
| | |
|
| | |
|
| |\
| |
| | |
Improve detection of Praat interpolated variables
|
| | |
| |
| |
| | |
Changes squashed / updated from https://bitbucket.org/birkenfeld/pygments-main/pull-requests/586
|
| | |
| |
| |
| | |
Fixes #1214
|
| | |
| |
| |
| | |
Fixes #1156
|
| | |
| |
| |
| | |
Fixes #1053
|
| | | |
|
| | |
| |
| |
| |
| | |
As the language develops further, having to override more and
more of the Python 2 lexer tokens makes no sense anymore.
|
| | | |
|
| | | |
|
| | | |
|
| | |
| |
| |
| | |
This also removes BroLexer from LEXERS.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
| |
| |
| |
| |
| |
| | |
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.
|
| |/ |
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| | |
|
| |
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
- 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.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
Seems quite arbitrary and has raised eyebrows (fixes #1204)
|
| |
|
|
| |
Fixes the test failure seen at https://github.com/pygments/pygments/runs/318264350
|
| |
|
|
| |
Fixes #976
|
| |
|
|
| |
Fixes #987
|
| |
|
|
| |
Closes #1169
|
| | |
|
| |\
| |
| | |
Document and test all supported Python versions
|
| | |
| |
| |
| |
| | |
Document support for Python 3.8 (released October 14th, 2019) and PyPy
and add them to the test matrix.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Starting with wheel 0.32.0 (2018-09-29), the "license_file" option is
deprecated.
https://wheel.readthedocs.io/en/stable/news.html
The wheel will continue to include LICENSE, it is now included
automatically:
https://wheel.readthedocs.io/en/stable/user_guide.html#including-license-files-in-the-generated-wheel-file
|