htlle-da-vorlage/style/langdef-scala.tex
2021-01-14 12:00:35 +01:00

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]"""
}