tree-sitter-elixir icon indicating copy to clipboard operation
tree-sitter-elixir copied to clipboard

Highlighting attribute and pinned variable in function definition

Open akash-akya opened this issue 4 years ago • 0 comments

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

Screenshot 2021-04-17 at 9 21 30 PM

akash-akya avatar Apr 17 '21 16:04 akash-akya