langs.sty
changeset 873 a25da86f7c8c
parent 820 7fd1f611c21d
child 908 0138618eff73
--- a/langs.sty	Sat Apr 02 01:52:43 2022 +0100
+++ b/langs.sty	Mon Aug 29 01:16:32 2022 +0200
@@ -37,12 +37,12 @@
 
 \lstdefinelanguage{Scala}{
   morekeywords={abstract,then,case,catch,class,def,%
-    do,else,extends,false,final,finally,%
-    for,if,implicit,import,match,mixin,%
+    do,else,enum,extends,false,final,finally,%
+    for,given,if,implicit,import,lazy,match,mixin,%
     new,null,object,override,package,%
     private,protected,requires,return,sealed,%
-    super,this,throw,trait,true,try,%
-    type,val,var,while,with,yield,write,read,lazy},%
+    super,this,then,throw,trait,true,try,%
+    type,val,var,while,with,yield,write,read},%
   literate={==>}{{\mbox{\color{codepurple}{\textbf{\texttt{==>}}}}}}2,%
   otherkeywords={=>,<-,<\%,<:,>:,\#},%
   sensitive=true,%