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

Infix function call with prime(s) in function name isn't highlighted correctly #82

Open
triallax opened this issue Apr 2, 2022 · 0 comments

Comments

@triallax
Copy link

triallax commented Apr 2, 2022

Here's a screenshot:

bug demonstration

There are also other edge cases not handled properly, though I doubt anybody actually faces them, and so fixing them might not be worth it:

bonus-demonstration

Code used in screenshots
-- This works.
a = 1 `bar` 2

-- This doesn't.
b = 1 `bar'` 2

-- The number and placement of primes doesn't matter.
c = 1 `b'ar` 2
d = 1 `b'a'r` 2

-- Bonus (these actually work!).
e = 1 `(+)` 2

f = 1 `clamp 2` 3 -- I know this is nonsense, but bear with it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant