aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--languages.toml2
-rw-r--r--runtime/queries/scala/highlights.scm3
2 files changed, 4 insertions, 1 deletions
diff --git a/languages.toml b/languages.toml
index c37860d3..b6f939aa 100644
--- a/languages.toml
+++ b/languages.toml
@@ -1065,7 +1065,7 @@ config = { "isHttpEnabled" = true }
[[grammar]]
name = "scala"
-source = { git = "https://github.com/tree-sitter/tree-sitter-scala", rev = "db1c8c23d7996476a791db85a0d292084c19c232" }
+source = { git = "https://github.com/tree-sitter/tree-sitter-scala", rev = "f6bbf35de41653b409ca9a3537a154f2b095ef64" }
[[language]]
name = "dockerfile"
diff --git a/runtime/queries/scala/highlights.scm b/runtime/queries/scala/highlights.scm
index 07307875..67603fdd 100644
--- a/runtime/queries/scala/highlights.scm
+++ b/runtime/queries/scala/highlights.scm
@@ -112,6 +112,9 @@
(generic_function
function: (identifier) @function)
+(interpolated_string_expression
+ interpolator: (identifier) @function)
+
(
(identifier) @function.builtin
(#match? @function.builtin "^super$")