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
@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: