abap.py 705 B

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