aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Davis2022-04-13 01:38:01 +0000
committerBlaž Hrastnik2022-04-13 05:28:51 +0000
commit8c3c90198a43fd69e1e3e07a2e164db3fb11bb24 (patch)
tree8e388e261296fce36582e78352e2a5e08d69e02e
parent740f565c80a76ee499a93f2c1ccd6cc8388b7e63 (diff)
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.
-rw-r--r--languages.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/languages.toml b/languages.toml
index b382b013..e7408849 100644
--- a/languages.toml
+++ b/languages.toml
@@ -91,7 +91,7 @@ indent = { tab-width = 2, unit = " " }
[[grammar]]
name = "elixir"
-source = { git = "https://github.com/elixir-lang/tree-sitter-elixir", rev = "60863fc6e27d60cf4b1917499ed2259f92c7800e" }
+source = { git = "https://github.com/elixir-lang/tree-sitter-elixir", rev = "1dabc1c790e07115175057863808085ea60dd08a" }
[[language]]
name = "fish"