diff options
author | Georg Brandl <georg@python.org> | 2015-03-08 07:23:14 +0100 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2015-03-08 07:23:14 +0100 |
commit | 0064569c71402121242a09d5e5cb3eddf1ebd6d6 (patch) | |
tree | 4902b6eb4d213da65e2a93c3ec4b9888b435fda0 | |
parent | 25dc0c1a29cef7dac73f9e56f2ffb806789ed13f (diff) | |
download | pygments-0064569c71402121242a09d5e5cb3eddf1ebd6d6.tar.gz |
Changelog for lovelace style.
-rw-r--r-- | AUTHORS | 1 | ||||
-rw-r--r-- | CHANGES | 4 | ||||
-rw-r--r-- | pygments/styles/lovelace.py | 5 |
3 files changed, 8 insertions, 2 deletions
@@ -136,6 +136,7 @@ Other contributors, listed alphabetically, are: * Andre Roberge -- Tango style * Konrad Rudolph -- LaTeX formatter enhancements * Mario Ruggier -- Evoque lexers +* Miikka Salminen -- Lovelace style, lexer enhancements * Stou Sandalski -- NumPy, FORTRAN, tcsh and XSLT lexers * Matteo Sasso -- Common Lisp lexer * Joe Schafer -- Ada lexer @@ -16,6 +16,10 @@ Version 2.1 * Emacs Lisp (PR#431) * Arduino (PR#442) +- Added styles: + + * Lovelace (PR#456) + Version 2.0.3 ------------- diff --git a/pygments/styles/lovelace.py b/pygments/styles/lovelace.py index 1442b28d..31bd5505 100644 --- a/pygments/styles/lovelace.py +++ b/pygments/styles/lovelace.py @@ -14,6 +14,7 @@ from pygments.style import Style from pygments.token import Keyword, Name, Comment, String, Error, \ Number, Operator, Punctuation, Generic, Whitespace + class LovelaceStyle(Style): """ The style used in Lovelace interactive learning environment. Tries to avoid @@ -30,7 +31,7 @@ class LovelaceStyle(Style): _LABEL_CYAN = '#289870' _EXCEPT_YELLOW = '#908828' - default_style = '#222222' + default_style = '#222222' styles = { Whitespace: '#a89028', @@ -48,7 +49,7 @@ class LovelaceStyle(Style): Operator.Word: _OW_PURPLE, Punctuation: '#888888', - + Name.Attribute: _NAME_GREEN, Name.Builtin: _NAME_GREEN, Name.Builtin.Pseudo: 'italic', |