on master help sign in
highlight(scala): update to fix potential crash (#5576)
4535d0feugene yokota
languages.toml+1−1
@@ -1065,7 +1065,7 @@ config = { "isHttpEnabled" = true }
1065
1065
1066[[grammar]]
1066[[grammar]]
1067name = "scala"
1067name = "scala"
1068−source = { git = "https://github.com/tree-sitter/tree-sitter-scala", rev = "db1c8c23d7996476a791db85a0d292084c19c232" }
1068+source = { git = "https://github.com/tree-sitter/tree-sitter-scala", rev = "f6bbf35de41653b409ca9a3537a154f2b095ef64" }
1069
1069
1070[[language]]
1070[[language]]
1071name = "dockerfile"
1071name = "dockerfile"
runtime/queries/scala/highlights.scm+3
@@ -112,6 +112,9 @@
112(generic_function
112(generic_function
113 function: (identifier) @function)
113 function: (identifier) @function)
114
114
115+(interpolated_string_expression
116+ interpolator: (identifier) @function)
117+
115(
118(
116 (identifier) @function.builtin
119 (identifier) @function.builtin
117 (#match? @function.builtin "^super$")
120 (#match? @function.builtin "^super$")