diff options
author | David Robillard <d@drobilla.net> | 2009-04-19 01:31:49 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-04-19 01:31:49 +0000 |
commit | 0401924f82e09cbadba4abffe43963cb362cc29a (patch) | |
tree | d0d805dccfaa022b39d36ccbaddfc9aae1a84e85 /highlight.py | |
parent | 2df6a44d12a2fb5f7b373d9ee4cc99f0632b2e53 (diff) | |
download | resp-0401924f82e09cbadba4abffe43963cb362cc29a.tar.gz resp-0401924f82e09cbadba4abffe43963cb362cc29a.tar.bz2 resp-0401924f82e09cbadba4abffe43963cb362cc29a.zip |
Fix colors.
git-svn-id: http://svn.drobilla.net/resp/tuplr@114 ad02d1e2-f140-0410-9f75-f8b11f17cedd
Diffstat (limited to 'highlight.py')
-rwxr-xr-x | highlight.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/highlight.py b/highlight.py index d5d15de..14bb9a8 100755 --- a/highlight.py +++ b/highlight.py @@ -27,7 +27,7 @@ class TuplrLexer(RegexLexer): tokens = { 'root' : [ # types - (r':?[A-Z][a-zA-Z]*|:\([A-Z][a-zA-Z\ ]*\)', Keyword.Type), + (r':?[A-Z][a-zA-Z.]*|:\([A-Z][a-zA-Z.\ ]*\)', Keyword.Type), # line comments (r';.*$', Comment.Single), @@ -77,8 +77,9 @@ class TuplrStyle(Style): Comment: '#79E', Keyword: '#EE5', Name: '#DDD', - Name.Function: '#0F0', - Name.Class: '#5E5', + Text: '#DDD', +# Name.Function: '#0F0', +# Name.Class: '#E55', String: '#F88', Keyword.Type: '#5E5', Punctuation: '#AAA', |