diff options
author | Georg Brandl <georg@python.org> | 2014-01-10 10:58:11 +0100 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2014-01-10 10:58:11 +0100 |
commit | 235425acf143fdb6b5c6ad6b0711ff416d9c005e (patch) | |
tree | 84c739837b1879ec6ba82c0cefe8f411aba4f423 /pygments/styles/igor.py | |
parent | 4a1bb02e0d644f50a009fefddb14b470d61ce870 (diff) | |
parent | 124cb233fdc3e9bde8c20e89de6e31c56c704eb1 (diff) | |
download | pygments-235425acf143fdb6b5c6ad6b0711ff416d9c005e.tar.gz |
merge with Igor enhancements from t-b/pygments-main/igor-pro-changes-v2 (pull request #250)
Diffstat (limited to 'pygments/styles/igor.py')
-rw-r--r-- | pygments/styles/igor.py | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pygments/styles/igor.py b/pygments/styles/igor.py new file mode 100644 index 00000000..05dae1bc --- /dev/null +++ b/pygments/styles/igor.py @@ -0,0 +1,29 @@ +# -*- coding: utf-8 -*- +""" + pygments.styles.igor + ~~~~~~~~~~~~~~~~~~~~ + + Igor Pro default style. + + :copyright: Copyright 2006-2014 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 + + +class IgorStyle(Style): + """ + Pygments version of the official colors for Igor Pro procedures. + """ + default_style = "" + + styles = { + Comment: 'italic #FF0000', + Keyword: '#0000FF', + Name.Function: '#C34E00', + Name.Decorator: '#CC00A3', + Name.Class: '#007575', + String: '#009C00' + } |