on master help sign in
update tree-sitter-elixir

The new revision handles a case that I come across often: a stab clause (i.e. '->') with an empty right hand side: Enum.map(xs, fn x -> end) The old version would parse the "end" token as an error. This is technically valid syntax but more importantly it comes up very often when editing, and the old revision would flicker between the keyword highlight and the warning highlight.

commit8c3c90198a43fd69e1e3e07a2e164db3fb11bb24 authorMichael Davis <mcarsondavis@gmail.com> dateTue 12 Apr 2022, 20:38 (5 years ago) parent740f565
1 file changed+1−1
languages.toml+1−1
languages.toml+1−1
@@ -91,7 +91,7 @@ indent = { tab-width = 2, unit = " " }
9191
9292[[grammar]]
9393name = "elixir"
94−source = { git = "https://github.com/elixir-lang/tree-sitter-elixir", rev = "60863fc6e27d60cf4b1917499ed2259f92c7800e" }
94+source = { git = "https://github.com/elixir-lang/tree-sitter-elixir", rev = "1dabc1c790e07115175057863808085ea60dd08a" }
9595
9696[[language]]
9797name = "fish"