Hello, it looks like using @internal is not currently supported. The most obvious effect of this is syntax highlighting breaking from the attribute forward:
One Interesting observation is that if I add parenthesis to the attribute, it works fine, but this is wrong and gleam fails to compile:
I am not sure if this might be an issue for tree-sitter, please let me know if that's the case.
I did check the tree and (attribute @ name: (identifier)) is recognised by tree-sitter, which seems correct to me, though I know little about ts:
Edit to add info:
I am using doom-emacs, so not the build in tree-sitter.
Emacs version 30.0.50
I have the latest version of the grammar, which is also the one pinned in this repo.
Hello, it looks like using![image](https://github.com/gleam-lang/gleam-mode/assets/38166823/d3dc7d96-a8d0-44a7-be51-b8bc70cc65f0)
@internal
is not currently supported. The most obvious effect of this is syntax highlighting breaking from the attribute forward:One Interesting observation is that if I add parenthesis to the attribute, it works fine, but this is wrong and gleam fails to compile:![image](https://github.com/gleam-lang/gleam-mode/assets/38166823/6631eba1-227d-4802-9898-b243682924dc)
I am not sure if this might be an issue for tree-sitter, please let me know if that's the case. I did check the tree and![image](https://github.com/gleam-lang/gleam-mode/assets/38166823/a2fbcb53-44b6-441b-a742-6d47843e565e)
(attribute @ name: (identifier))
is recognised by tree-sitter, which seems correct to me, though I know little about ts:Edit to add info: