From 6aa3ea70dc9b48182e708a244afd3e037f786830 Mon Sep 17 00:00:00 2001 From: Naftoli Gugenheim <98384+nafg@users.noreply.github.com> Date: Sun, 17 Jul 2022 15:19:07 -0400 Subject: [PATCH] scala.yaml: add support for .sc extension (#2452) It's used for Ammonite scripts and Scala worksheets --- runtime/syntax/scala.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/syntax/scala.yaml b/runtime/syntax/scala.yaml index c6685d94..b0348740 100644 --- a/runtime/syntax/scala.yaml +++ b/runtime/syntax/scala.yaml @@ -1,7 +1,7 @@ filetype: scala detect: - filename: "\\.scala$" + filename: "\\.sc(ala)?$" rules: - type: "\\b(boolean|byte|char|double|float|int|long|new|short|this|transient|void)\\b" -- 2.44.0