diff --git a/README.md b/README.md index eb4a898..2b5953e 100644 --- a/README.md +++ b/README.md @@ -331,6 +331,7 @@ The created files come with blank description in their comment headers. * R * Ruby * Rust +* Scala * Scheme * Sql * Swift diff --git a/extdata/InlineComments.txt b/extdata/InlineComments.txt index e6056d9..3caecd1 100644 --- a/extdata/InlineComments.txt +++ b/extdata/InlineComments.txt @@ -1,5 +1,5 @@ .py .pyc .pyo .pyd .php .rb .rbw .cr .coffee .litcoffee .pl .pm .janet .q .qm .qtest .imba .yml .yaml .awk .e .gap .gp .icn .r .toml .sh .jl : # {} -.cpp .c++ .cxx .c .cc .jav .j .java .js .h .hh .hpp .hxx .h++ .go .cs .kt .rs .m .mm .fs .fsi .fsx .fsscript .dart .gs .gsp .gst .gsx .d .boo .ceylon .es .ftd .fal .fam .groovy .gvy .gy .gsh .io .n .pony : // {} +.cpp .c++ .cxx .c .cc .jav .j .java .js .h .hh .hpp .hxx .h++ .go .cs .kt .rs .m .mm .fs .fsi .fsx .fsscript .dart .gs .gsp .gst .gsx .d .boo .ceylon .es .ftd .fal .fam .groovy .gvy .gy .gsh .io .n .pony .scala .sc : // {} .ada .adb .ads .scpt .scptd .applescript .agda .lagda .lua .elm .egi .ex .exw .hs .lhs .sql .pls .exs : -- {} .clj .cljs .cljc .edn .lg .scm : ;; {} .cbl .cob .cpy : *> {} diff --git a/extdata/scala.tpl b/extdata/scala.tpl new file mode 100644 index 0000000..cf2ed1d --- /dev/null +++ b/extdata/scala.tpl @@ -0,0 +1,5 @@ +object HelloWorld { + def main(args: Array[String]) { + println("Hello, world!") + } +} \ No newline at end of file