Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Boolean not (!) breaks the elixirAlias syntax match #142

Closed
jparise opened this issue Feb 7, 2016 · 1 comment
Closed

Boolean not (!) breaks the elixirAlias syntax match #142

jparise opened this issue Feb 7, 2016 · 1 comment
Labels

Comments

@jparise
Copy link
Contributor

jparise commented Feb 7, 2016

This text correctly matches the boolean not operator (!) follow by an elixirAlias:

! Enum.empty?(...)

This text (without intermediate whitespace) does not:

!Enum.empty?(...)

I believe this is because ! is included in the iskeyword set, and elixirAlias is defined using \< to match the start of a keyword-aware word.

@kassio kassio added the bug label Apr 15, 2016
@kassio kassio closed this as completed in 041d5d3 Apr 15, 2016
@jparise
Copy link
Contributor Author

jparise commented Apr 16, 2016

👏

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

No branches or pull requests

2 participants