Added manual syntax color for Erlang

This commit is contained in:
Jonatan Pålsson 2011-05-04 12:38:34 +02:00
parent 37eab61e98
commit 4d3bd75723

View file

@ -82,6 +82,22 @@
morestring=[b]" morestring=[b]"
} }
\lstdefinelanguage{Erlang}{
keywords={typeof, true, false, catch, return, null, catch, switch, var, if, in, while, do, else, case, break, expose},
keywordstyle=\color{blue}\bfseries,
ndkeywords={class, export, boolean, throw, implements, import, this,erlv8_vm, erlv8_fun_invocation
,erlv8_object},
ndkeywordstyle=\color{darkgray}\bfseries,
identifierstyle=\color{black},
sensitive=false,
comment=[l]{\%},
morecomment=[s]{/*}{*/},
commentstyle=\color{purple}\ttfamily,
stringstyle=\color{red}\ttfamily,
morestring=[b]',
morestring=[b]"
}
\usepackage{float} \usepackage{float}
\floatstyle{ruled} \floatstyle{ruled}