summaryrefslogtreecommitdiff
path: root/pygments/styles/igor.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2014-01-17 06:53:47 +0100
committerGeorg Brandl <georg@python.org>2014-01-17 06:53:47 +0100
commit8d58e854aea5a0061d4fd16e409d043fc402bacc (patch)
treebba45c4c616f884d2737350be84868fab2a574cd /pygments/styles/igor.py
parent58ade6b658b910ad16f923e8376a2bb1a42625ee (diff)
parentc1559dbaaf96b70f9d7f42639dcc90c1164762a7 (diff)
downloadpygments-8d58e854aea5a0061d4fd16e409d043fc402bacc.tar.gz
Merged in jiyinyiyong/pygments-main (pull request #275)
add syntax for Cirru
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'
+ }