Skip to content

Commit

Permalink
Don't treat val as a function in Scala
Browse files Browse the repository at this point in the history
This one fixes a side issue in #930. The overall issues is taken care
of by the class names refactoring in #348.
  • Loading branch information
isagalaev committed Sep 12, 2015
1 parent 7012a26 commit 8c8ef7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/languages/scala.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function(hljs) {

var METHOD = {
className: 'function',
beginKeywords: 'def val',
beginKeywords: 'def',
end: /[:={\[(\n;]/,
contains: [NAME]
};
Expand Down

0 comments on commit 8c8ef7c

Please sign in to comment.