summaryrefslogtreecommitdiff
path: root/pygments/styles/igor.py
diff options
context:
space:
mode:
authorTim Hatch <tim@timhatch.com>2014-04-14 20:14:51 -0400
committerTim Hatch <tim@timhatch.com>2014-04-14 20:14:51 -0400
commitc75a752481251a0f2033a0db2466f293e73fa7e2 (patch)
tree2fd7271a0e92112cb2c3c7dc04773379bd72dd07 /pygments/styles/igor.py
parent11226c63db8ed714bf233e34d44141a4ad3df934 (diff)
parentc852aa1e65a7175a4d62d321b9b18f70e4e6b93a (diff)
downloadpygments-c75a752481251a0f2033a0db2466f293e73fa7e2.tar.gz
Merged in ssproessig/pygments-main (pull request #266)
Diffstat (limited to 'pygments/styles/igor.py')
-rw-r--r--pygments/styles/igor.py29
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'
+ }