Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'master' of github.com:spockz/lhs2texhl

  • Loading branch information...
commit f572ae312c8823c6c77cbab6c54a1809518eb94f 2 parents 0a30ad8 + 3a96987
@spockz spockz authored
Showing with 30 additions and 0 deletions.
  1. +1 −0  .gitignore
  2. +29 −0 examples/solarized/solarized-vim.sty
View
1  .gitignore
@@ -0,0 +1 @@
+.DS_Store
View
29 examples/solarized/solarized-vim.sty
@@ -0,0 +1,29 @@
+\definecolor{syntax}{RGB}{116, 139, 0}
+\definecolor{datatype}{RGB}{181, 137, 0}
+\definecolor{constructor}{RGB}{181, 137, 0}
+\definecolor{class}{RGB}{181, 137, 0}
+\definecolor{fieldname}{RGB}{0, 0, 162}
+\definecolor{numeral}{RGB}{0, 0, 205}
+\definecolor{infixoperator}{RGB}{42, 161, 152}
+\definecolor{function}{RGB}{38, 139, 210}
+\definecolor{constant}{RGB}{38, 139, 210}
+\definecolor{keyword}{RGB}{42, 161, 152}
+\definecolor{special1}{RGB}{42, 161, 152}
+\definecolor{prelude}{RGB}{42, 161, 152}
+\definecolor{string}{RGB}{131, 148, 150}
+\definecolor{char}{RGB}{181, 137, 0}
+
+\newcommand{\lhsCHsyntax}[1]{\color{syntax}{#1}}
+\newcommand{\lhsCHfunction}[1]{\color{function}{#1}}
+\newcommand{\lhsCHinfixoperator}[1]{\color{infixoperator}{#1}}
+\newcommand{\lhsCHprelude}[1]{\color{prelude}{#1}}
+\newcommand{\lhsCHkeyword}[1]{\color{keyword}{#1}}
+\newcommand{\lhsCHconstructor}[1]{\color{constructor}{#1}}
+\newcommand{\lhsCHtype}[1]{\color{datatype}{#1}}
+\newcommand{\lhsCHclass}[1]{\color{class}{#1}}
+\newcommand{\lhsCHconstant}[1]{\color{constant}{#1}}
+
+%subst char a = "{\color{char}\text{\tt ''" a "''}}"
+%subst string a = "{\color{string}\text{\tt \char34 " a "\char34}}"
+%subst numeral a = "{\color{numeral}{ " a " }}"
+
Please sign in to comment.
Something went wrong with that request. Please try again.