Skip to content

Commit

Permalink
Updated Scala files extensions
Browse files Browse the repository at this point in the history
Added syntax highlighting for Scala files with .sc and .sbt extensions
  • Loading branch information
jupblb authored Apr 15, 2019
1 parent ee21b12 commit 5bdbf29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scala.nanorc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Here is an example for Scala.
##
syntax "Scala" "\.scala$"
syntax "Scala" "\.(scala|sc|sbt)$"
color green "\<(boolean|byte|char|double|float|int|long|new|short|this|transient|void)\>"
color red "\<(match|val|var|break|case|catch|continue|default|do|else|finally|for|if|return|switch|throw|try|while)\>"
color cyan "\<(def|object|case|trait|lazy|implicit|abstract|class|extends|final|implements|import|instanceof|interface|native|package|private|protected|public|static|strictfp|super|synchronized|throws|volatile|sealed)\>"
Expand Down

0 comments on commit 5bdbf29

Please sign in to comment.