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

Syntax highlighting of C in math zone #2761

Closed
coolbluealan opened this issue Jul 22, 2023 · 1 comment
Closed

Syntax highlighting of C in math zone #2761

coolbluealan opened this issue Jul 22, 2023 · 1 comment
Labels

Comments

@coolbluealan
Copy link

coolbluealan commented Jul 22, 2023

Description

Any capital C in a math zone is highlighted differently than other letters. I believe it is introduced by this commit and this line.

The "C" value in the dictionary is making every C highlighted with texMathSymbol. I think a solution is to take that pair out of the dictionary and highlight it separately. If highlighting Cs differently is intended, is there any way I can disable it?

Steps to reproduce

Type a "C" in a math zone along with some other letters.

Expected behavior

The letters are highlighted the same.

Actual behavior

image

@lervag
Copy link
Owner

lervag commented Jul 22, 2023

Thanks, you're right. I've fixed this now.

@lervag lervag closed this as completed Jul 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants