17 lines
634 B
TeX
17 lines
634 B
TeX
|
% Scala
|
||
|
\lstdefinelanguage{Scala}{
|
||
|
morekeywords = {abstract,case,catch,class,def,%
|
||
|
do,else,extends,false,final,finally,%
|
||
|
for,if,implicit,import,match,mixin,%
|
||
|
new,null,object,override,package,%
|
||
|
private,protected,requires,return,sealed,%
|
||
|
super,this,throw,trait,true,try,%
|
||
|
type,val,var,while,with,yield},
|
||
|
sensitive = true,
|
||
|
morecomment = [l]{//},
|
||
|
morecomment = [n]{/*}{*/},
|
||
|
morestring = [b]",
|
||
|
morestring = [b]',
|
||
|
morestring = [b]"""
|
||
|
}
|