diff options
author | Georg Brandl <georg@python.org> | 2017-01-22 19:29:02 +0100 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2017-01-22 19:29:02 +0100 |
commit | d3319e14c291f99143ada2e32b020b0cc29d5e57 (patch) | |
tree | f4182d33b5564b8c23e6e5f0c29cc34f05288658 /pygments/styles/abap.py | |
parent | 6c1cfbf9231812c19eea256ce64c21d7e20473c6 (diff) | |
download | pygments-git-d3319e14c291f99143ada2e32b020b0cc29d5e57.tar.gz |
ABAP: a few minor fixes
Diffstat (limited to 'pygments/styles/abap.py')
-rw-r--r-- | pygments/styles/abap.py | 46 |
1 files changed, 29 insertions, 17 deletions
diff --git a/pygments/styles/abap.py b/pygments/styles/abap.py index b2c04e3e..91286a3a 100644 --- a/pygments/styles/abap.py +++ b/pygments/styles/abap.py @@ -1,17 +1,29 @@ -from pygments.style import Style
-from pygments.token import Keyword, Name, Comment, String, Error, \
- Number, Operator, Generic
-
-class AbapStyle(Style):
- default_style = ""
- styles = {
- Comment: 'italic #888',
- Comment.Special: '#888',
- Keyword: '#00f',
- Operator.Word: '#00f',
- Name: '#000',
- Number: '#3af',
- String: '#5a2',
-
- Error: '#F00'
- }
\ No newline at end of file +# -*- coding: utf-8 -*- +""" + pygments.styles.abap + ~~~~~~~~~~~~~~~~~~~~ + + ABAP workbench like style. + + :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS. + :license: BSD, see LICENSE for details. +""" + +from pygments.style import Style +from pygments.token import Keyword, Name, Comment, String, Error, \ + Number, Operator + + +class AbapStyle(Style): + default_style = "" + styles = { + Comment: 'italic #888', + Comment.Special: '#888', + Keyword: '#00f', + Operator.Word: '#00f', + Name: '#000', + Number: '#3af', + String: '#5a2', + + Error: '#F00', + } |