diff options
author | Tim Hatch <tim@timhatch.com> | 2014-04-29 17:06:35 -0700 |
---|---|---|
committer | Tim Hatch <tim@timhatch.com> | 2014-04-29 17:06:35 -0700 |
commit | f16d0dbfaececc1b868c11355f4bca13e06dca53 (patch) | |
tree | 56131039dd507320688676b29984ea67f6c9bd0e /pygments/styles/xcode.py | |
parent | 84525915f44875a4d179e2effefd72682c95bc7b (diff) | |
parent | c2e8f293fa268044172d92af3cb13e066a2d020a (diff) | |
download | pygments-f16d0dbfaececc1b868c11355f4bca13e06dca53.tar.gz |
Merged in jaingaurav2/pygments-main-example-cleanup (pull request #337)
Improvements to Objective-C lexer
Diffstat (limited to 'pygments/styles/xcode.py')
-rw-r--r-- | pygments/styles/xcode.py | 11 |
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', } |