/usr/lib/python2.7/dist-packages/pygments/styles/stata.py is in python-pygments 2.2.0+dfsg-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | # -*- coding: utf-8 -*-
"""
pygments.styles.stata
~~~~~~~~~~~~~~~~~~~~~
Style inspired by Stata's do-file editor. Note this is not meant
to be a complete style. It's merely meant to mimic Stata's do file
editor syntax highlighting.
: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, Whitespace
class StataStyle(Style):
"""
Style inspired by Stata's do-file editor. Note this is not meant
to be a complete style. It's merely meant to mimic Stata's do file
editor syntax highlighting.
"""
default_style = ''
styles = {
Whitespace: '#bbbbbb',
Comment: 'italic #008800',
String: '#7a2424',
Number: '#2c2cff',
Operator: '',
Keyword: 'bold #353580',
Keyword.Constant: '',
Name.Function: '#2c2cff',
Name.Variable: 'bold #35baba',
Name.Variable.Global: 'bold #b5565e',
Error: 'bg:#e3d2d2 #a61717'
}
|