--- a/langs.sty Mon Sep 01 18:05:39 2014 +0100
+++ b/langs.sty Wed Sep 03 11:01:49 2014 +0100
@@ -11,7 +11,7 @@
\lstdefinelanguage{Scala}{
- keywords={abstract,case,catch,class,def,%
+ morekeywords={abstract,case,catch,class,def,%
do,else,extends,false,final,finally,%
for,if,implicit,import,match,mixin,%
new,null,object,override,package,%
@@ -51,10 +51,11 @@
showspaces=false,
showstringspaces=false,
xleftmargin=8mm,
- emphstyle=\color{codeblue}\bfseries}
+ emphstyle=\color{codeblue}\bfseries,
+ keepspaces}
\lstset{language=Scala,
style=mystyle}
-\newcommand{\code}[1]{{\lstinline!#1!}}
+\newcommand{\code}[1]{{\lstinline{#1}}}