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

Bars (|) inside brackets mess up highlighting #2

Open
typesanitizer opened this issue Mar 7, 2018 · 0 comments
Open

Bars (|) inside brackets mess up highlighting #2

typesanitizer opened this issue Mar 7, 2018 · 0 comments
Labels
bug Something isn't working

Comments

@typesanitizer
Copy link
Owner

Currently the logic here

https://github.com/theindigamer/ats2-mode/blob/d08ac0287a5ac7161a856520dcddb6a012f07d23/ats2-mode.el#L180-L190

means that when you have a situation like

(
  case foo of
  | bar ...

the region case foo of | will get highlighted using the wrong face which doesn't make sense. The highlighting should only apply to proofs.

@typesanitizer typesanitizer added the bug Something isn't working label Mar 7, 2018
@typesanitizer typesanitizer changed the title Bars (|) inside brackets mess pu highlighting Bars (|) inside brackets mess up highlighting Mar 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant