From d3319e14c291f99143ada2e32b020b0cc29d5e57 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sun, 22 Jan 2017 19:29:02 +0100 Subject: ABAP: a few minor fixes --- pygments/styles/abap.py | 46 +++++++++++++++++++++++++++++----------------- 1 file changed, 29 insertions(+), 17 deletions(-) (limited to 'pygments/styles/abap.py') 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', + } -- cgit v1.2.1