You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Fix operators followed immediately by numbers #206
The tricky part that it's not a 100% accurate fix. In PS it's legal to write -not1 and 1-bxor1, without spaces.
A proper fix will be relatively complicated: we need to recognize that context implies function call and turn-off keyword highlighting for all -bla keywords. It's pretty easy to introduce new bugs, when implementing this, so I would prefer implement it with reasonable test coverage.
PS: -not1 ideally should be recognized correctly (highlight -not part), but I have no idea how to do it without using PS parser or over-engineering.
Activity
Allow numbers to immediately follow operators
Allow numbers to immediately follow operators