summaryrefslogtreecommitdiff
path: root/pygments/styles/stata_dark.py
diff options
context:
space:
mode:
authorMauricio Caceres Bravo <mauricio.caceres.bravo@gmail.com>2019-02-19 11:40:43 -0500
committerMauricio Caceres Bravo <mauricio.caceres.bravo@gmail.com>2019-02-19 11:40:43 -0500
commit4b9174ce07c5365424ed25c223e484fc35427dec (patch)
tree63dd7bd8652cab270ce6a9d6c50ca224f66c60f3 /pygments/styles/stata_dark.py
parent62ff49874c8a405fc24a83cb6611e8a5cf818bd5 (diff)
downloadpygments-4b9174ce07c5365424ed25c223e484fc35427dec.tar.gz
Fix StataLexer format highlight error (change Name.Format to Name.Other)
StataLexer defined Name.Format for variable and print format highlighting; Name.Format is not a built-in token, which caused issues downstream in certain applications (e.g. [here](https://github.com/kylebarron/stata_kernel/issues/295)). This commit changes Name.Format to Name.Other.
Diffstat (limited to 'pygments/styles/stata_dark.py')
-rw-r--r--pygments/styles/stata_dark.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/styles/stata_dark.py b/pygments/styles/stata_dark.py
index 7610ba0f..851a9a8d 100644
--- a/pygments/styles/stata_dark.py
+++ b/pygments/styles/stata_dark.py
@@ -31,7 +31,7 @@ class StataDarkStyle(Style):
Number: '#4FB8CC',
Operator: '',
Name.Function: '#6a6aff',
- Name.Format: '#e2828e',
+ Name.Other: '#e2828e',
Keyword: 'bold #7686bb',
Keyword.Constant: '',
Comment: 'italic #777777',