Added manual syntax color for Erlang
This commit is contained in:
parent
37eab61e98
commit
4d3bd75723
1 changed files with 16 additions and 0 deletions
16
report.lyx
16
report.lyx
|
@ -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}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue