on master help sign in
highlight(scala): update to fix potential crash (#5576)

* highlight(scala): update to fix crash tree-sitter-scala has recently add a fix to workaround segv crashes in other editors. Not sure if it happens to Helix as well, but it's probably a good idea to use the latest. * highlight(scala): String interpolator support This captures String interpolator as `function` Co-authored-by: Chris Kipp <ckipp@pm.me>

commit4535d0fa74afc5bdd84ca698480249d20fbd8b61 authoreugene yokota <eed3si9n@gmail.com> dateThu 19 Jan 2023, 12:26 (4 years ago) parent94ef6fb
2 files changed+4−1
languages.toml+1−1 runtime/queries/scala/highlights.scm+3
languages.toml+1−1
@@ -1065,7 +1065,7 @@ config = { "isHttpEnabled" = true }
10651065
10661066[[grammar]]
10671067name = "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" }
10691069
10701070[[language]]
10711071name = "dockerfile"
runtime/queries/scala/highlights.scm+3
@@ -112,6 +112,9 @@
112112(generic_function
113113 function: (identifier) @function)
114114
115+(interpolated_string_expression
116+ interpolator: (identifier) @function)
117+
115118(
116119 (identifier) @function.builtin
117120 (#match? @function.builtin "^super$")