From 8c8ef7c0cb4e71ac2ca61fb26e7d944c10ad675d Mon Sep 17 00:00:00 2001 From: Ivan Sagalaev Date: Sat, 12 Sep 2015 08:29:47 -0700 Subject: [PATCH] Don't treat `val` as a function in Scala This one fixes a side issue in #930. The overall issues is taken care of by the class names refactoring in #348. --- src/languages/scala.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/languages/scala.js b/src/languages/scala.js index 9227fa5ae9..61b61b8368 100644 --- a/src/languages/scala.js +++ b/src/languages/scala.js @@ -43,7 +43,7 @@ function(hljs) { var METHOD = { className: 'function', - beginKeywords: 'def val', + beginKeywords: 'def', end: /[:={\[(\n;]/, contains: [NAME] };