tree-sitter-elixir
tree-sitter-elixir copied to clipboard
Highlighting attribute and pinned variable in function definition
Currently, we mark all nested identifier in the function declaration as @variable.parameter. This might have some corner cases, like if the parameter is an attribute or a pinned variable.
def run(@foo), do: :ok
fn ^bar -> :ok end
This will be highlighted as