abap.py 751 B

1234567891011121314151617181920212223242526272829
  1. # -*- coding: utf-8 -*-
  2. """
  3. pygments.styles.abap
  4. ~~~~~~~~~~~~~~~~~~~~
  5. ABAP workbench like style.
  6. :copyright: Copyright 2006-2019 by the Pygments team, see AUTHORS.
  7. :license: BSD, see LICENSE for details.
  8. """
  9. from pygments.style import Style
  10. from pygments.token import Keyword, Name, Comment, String, Error, \
  11. Number, Operator
  12. class AbapStyle(Style):
  13. default_style = ""
  14. styles = {
  15. Comment: 'italic #888',
  16. Comment.Special: '#888',
  17. Keyword: '#00f',
  18. Operator.Word: '#00f',
  19. Name: '#000',
  20. Number: '#3af',
  21. String: '#5a2',
  22. Error: '#F00',
  23. }