Skip to content
This repository has been archived by the owner on Oct 6, 2021. It is now read-only.

Highlighting attribute and pinned variable in function definition #16

Open
akash-akya opened this issue Apr 17, 2021 · 0 comments
Open

Comments

@akash-akya
Copy link
Collaborator

akash-akya commented Apr 17, 2021

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant