mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 17:36:19 +04:00
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>
This commit is contained in:
parent
94ef6fb69b
commit
4535d0fa74
@ -1065,7 +1065,7 @@ config = { "isHttpEnabled" = true }
|
|||||||
|
|
||||||
[[grammar]]
|
[[grammar]]
|
||||||
name = "scala"
|
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]]
|
[[language]]
|
||||||
name = "dockerfile"
|
name = "dockerfile"
|
||||||
|
@ -112,6 +112,9 @@
|
|||||||
(generic_function
|
(generic_function
|
||||||
function: (identifier) @function)
|
function: (identifier) @function)
|
||||||
|
|
||||||
|
(interpolated_string_expression
|
||||||
|
interpolator: (identifier) @function)
|
||||||
|
|
||||||
(
|
(
|
||||||
(identifier) @function.builtin
|
(identifier) @function.builtin
|
||||||
(#match? @function.builtin "^super$")
|
(#match? @function.builtin "^super$")
|
||||||
|
Loading…
Reference in New Issue
Block a user