summaryrefslogtreecommitdiff
path: root/pygments/styles/xcode.py
diff options
context:
space:
mode:
authorTim Hatch <tim@timhatch.com>2014-05-17 09:19:35 -0700
committerTim Hatch <tim@timhatch.com>2014-05-17 09:19:35 -0700
commita62cdcfaa5a260274303cb93b92a3f2e2ce3be98 (patch)
treee7d2b4cd4e10a6e43fe4b2dc4e03ab2e827ebc20 /pygments/styles/xcode.py
parent70a10a2e423d9729b62c7b56faca28889c0d688a (diff)
parentff12540907fe9d98bf02c9508a171659457b14b2 (diff)
downloadpygments-a62cdcfaa5a260274303cb93b92a3f2e2ce3be98.tar.gz
Merged in timgilbert/pygments-main/clj-keyword-fix (pull request #326)
Tweaking clojure keyword lexing
Diffstat (limited to 'pygments/styles/xcode.py')
-rw-r--r--pygments/styles/xcode.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/pygments/styles/xcode.py b/pygments/styles/xcode.py
index e2ecf2aa..8bb2c24e 100644
--- a/pygments/styles/xcode.py
+++ b/pygments/styles/xcode.py
@@ -11,7 +11,7 @@
from pygments.style import Style
from pygments.token import Keyword, Name, Comment, String, Error, \
- Number, Operator
+ Number, Operator, Literal
class XcodeStyle(Style):
@@ -30,13 +30,13 @@ class XcodeStyle(Style):
Operator: '#000000',
- Keyword: '#AA0D92',
+ Keyword: '#A90D91',
Name: '#000000',
Name.Attribute: '#836C28',
- Name.Class: '#000000',
+ Name.Class: '#3F6E75',
Name.Function: '#000000',
- Name.Builtin: '#AA0D92',
+ Name.Builtin: '#A90D91',
# In Obj-C code this token is used to colour Cocoa types
Name.Builtin.Pseudo: '#5B269A',
Name.Variable: '#000000',
@@ -45,6 +45,7 @@ class XcodeStyle(Style):
# Workaround for a BUG here: lexer treats multiline method signatres as labels
Name.Label: '#000000',
- Number: '#2300CE',
+ Literal: '#1C01CE',
+ Number: '#1C01CE',
Error: '#000000',
}