| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
pyupgrade is a tool to automatically upgrade syntax for newer versions
of the Python language.
The project has been Python 3 only since
35544e2fc6eed0ce4a27ec7285aac71ff0ddc473, allowing for several cleanups:
- Remove unnecessary "-*- coding: utf-8 -*-" cookie. Python 3 reads all
source files as utf-8 by default.
- Replace IOError/EnvironmentError with OSError. Python 3 unified these
exceptions. The old names are aliases only.
- Use the Python 3 shorter super() syntax.
- Remove "utf8" argument form encode/decode. In Python 3, this value is
the default.
- Remove "r" from open() calls. In Python 3, this value is the default.
- Remove u prefix from Unicode strings. In Python 3, all strings are
Unicode.
- Replace io.open() with builtin open(). In Python 3, these functions
are functionally equivalent.
Co-authored-by: Matthäus G. Chajdas <Anteru@users.noreply.github.com>
|
|
|
|
|
|
|
| |
This reverts commit bd378d0ef57a6bc53e9079c9363a6eab0d54f0dc.
The license terms in dracula.py don't match. We'll add it back once the
author places it under the correct license.
|
| |
|
|
|
|
|
|
|
|
|
| |
* added dracula theme style
* added dracula style to init
* corrected misspell
* Update __init__.py
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* all: remove "u" string prefix
* util: remove unirange
Since Python 3.3, all builds are wide unicode compatible.
* unistring: remove support for narrow-unicode builds
which stopped being relevant with Python 3.3
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add font and background colors to Style
* Move all styles to get_style_defs, add tests
* Remove hardcoded styles, add special lineno style
* Add styles for special line numbers in tables
* Update noclasses documentation
* Refactor linenos elements and styles, add tests
* Update AUTHORS
* Fix multiple CSS prefixes, add tests
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
StataLexer defined Name.Format for variable and print format
highlighting; Name.Format is not a built-in token, which
caused issues downstream in certain applications (e.g.
[here](https://github.com/kylebarron/stata_kernel/issues/295)).
This commit changes Name.Format to Name.Other.
|
|\ |
|
| |\
| | |
| | |
| | |
| | |
| | | |
Adds a solarized style
Approved-by: Anteru <bitbucket@ca.sh13.net>
|
| | |
| | |
| | |
| | | |
Resolves #1492
|
| |/ |
|
| |\ |
|
| | | |
|
| | | |
|
| |\ \
| | |/
| |/|
| | | |
Abap fixes
|
| | | |
|
| | | |
|
| |\ \
| | | |
| | | |
| | | | |
Add ?Rainbow Dash? syntax highlighting style
|
| | |/
| | |
| | |
| | |
| | |
| | |
| | | |
This bright and colorful style is a port of my TextMate theme [1]. It is
based on ?Mac Classic? by Chris Thomas.
[1]: http://sanssecours.github.io/Rainbow-Dash.tmbundle
|
| | | |
|
| /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This introduces support for some missing features to the Handlebars lexer:
Partials and path segments. Partials mostly appeared to work before, but the
`>` in `{{> ... }}` would appear as a syntax error, as could other
components of the partial. This change introduces support for:
* Standard partials: `{{> partialName}}`
* Partials with parameters: `{{> partialName varname="value"}}`
* Ddynamic partials: `{{> (partialFunc)}}`
* Ddynamic partials with lookups: `{{> (lookup ../path "partialName")}}`
* Partial blocks: `{{> @partial-block}}`
* Inline partials: `{{#*inline}}..{{/inline}}`
It also introduces support for path segments, which can reference content in
the current context or in a parent context. For instance, `this.name`,
`this/name`, `./name`, `../name`, `this/name`, etc. These are all now tracked
as variables.
|
|/
|
|
|
|
|
|
| |
- Nested comments correctly highlighted.
- Globals and locals correctly nested inside each other and strings.
- Extended locals and stored results correctly highlighted.
- Keywords and operators correctly highlighted.
- Parentheses and functions correctly highlighted.
|
| |
|
| |
|
| |
|
|
|
|
| |
C/C++, Perl, PHP, Python and Ruby. Update my old style Lovelace accordingly.
|
|\ |
|
| |\ |
|
| | |
| | |
| | |
| | |
| | | |
this change in an updated version of my older style, Lovelace. Added Python lexing
for Python's magic methods and variables.
|
| | | |
|
| | | |
|
|/ /
| |
| |
| | |
highlighting of scalars and arrays (fixes #1202)
|
|/ |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
Elixir syntax has evolved quite significantly since the initial lexer
was written. In this update I have rewritten most of the code to support
modern Elixir (as of v0.14.0-dev).
The example file has also been updated to give an quick overview
of most of the language constructs.
|