It looks as though the gitsubmodule for treesitter could do with an update. The current git submodule points to a version of treesitter that doesn't support let assert, messing with the synax with new gleam 0.27.
I hope that made sense. In the mean time, if anyone is having a problem with emacs syntax highlighting since the "let assert" change, you can:
Gday,
It looks as though the gitsubmodule for treesitter could do with an update. The current git submodule points to a version of treesitter that doesn't support let assert, messing with the synax with new gleam 0.27.
I hope that made sense. In the mean time, if anyone is having a problem with emacs syntax highlighting since the "let assert" change, you can:
Remove the git module rm -rf tree-sitter-gleam
Then check out the new tree sitter git clone https://github.com/gleam-lang/tree-sitter-gleam.git
It may require building. cargo build
You probably need to restart emacs after. This seemed to fix it for me.