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

Macro invocations not highlighted if preceded by an exclamation mark #201

Closed
veddox opened this issue Nov 13, 2023 · 0 comments · Fixed by #202
Closed

Macro invocations not highlighted if preceded by an exclamation mark #201

veddox opened this issue Nov 13, 2023 · 0 comments · Fixed by #202

Comments

@veddox
Copy link

veddox commented Nov 13, 2023

julia-model doesn't recognise macro invocations when they are preceded by an exclamation mark, such as when negating a boolean expression.

if @foo()  # <- macro invocation is highlighted
    return 1
end
if !@foo()  # <- macro invocation is not highlighted
    return 0
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant