Gleam-mode requires 'tree-sitter'

Hi,
I’m trying to get the gleam-mode (Emacs) to work.
I followed the README which talks about tree-sitter as a requirement…
So Emacs complains about: (file-missing Cannot open load file No such file or directory tree-sitter)
and my question is how I install this tree-sitter requirement?

Cheers, Tobbe

1 Like

I installed tree-sitter, tree-sitter-lang and tree-sitter-indent according to: Installation :: Emacs Tree-sitter then I got it to work (using Emacs 28).

2 Likes