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

Unicode operators aren't highlighted #253

Closed
MarcMush opened this issue Nov 8, 2021 · 1 comment · Fixed by #279
Closed

Unicode operators aren't highlighted #253

MarcMush opened this issue Nov 8, 2021 · 1 comment · Fixed by #279

Comments

@MarcMush
Copy link

MarcMush commented Nov 8, 2021

operators that are not defined in Base Julia aren't highlighted, which makes code less readable when defining custom operators:

vscode

# github
a+b
ab
ab
a*ᵉb

(here, it looks like a⊕b, a▷b and ᵉb are variables)

for reference, OhMyREPL.jl highlights them correctly:

ohmyrepl

@CameronBieganek
Copy link

Here's a few more examples:

image

Those operators are listed as comparison operators in julia-parser.scm. It would be nice if we could tokenization for these various Unicode operators.

image

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.

2 participants