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

Problem with J syntax highlighting #1149

Open
Anteru opened this issue Aug 31, 2019 · 0 comments
Open

Problem with J syntax highlighting #1149

Anteru opened this issue Aug 31, 2019 · 0 comments
Labels
good first issue Good for newcomers T-bug type: a bug X-imported imported from Bitbucket

Comments

@Anteru
Copy link
Collaborator

Anteru commented Aug 31, 2019

(Original issue 1445 created by None on 2018-06-10T20:01:08.289510+00:00)

For some reason, Pygments does not recognize ?. as a valid token, highlighting it in red as seen here. This is probably just a problem with the lexer, but I'm not sure.

@Anteru Anteru added T-bug type: a bug X-imported imported from Bitbucket trivial labels Aug 31, 2019
@Anteru Anteru added good first issue Good for newcomers and removed trivial labels Nov 23, 2019
anntzer added a commit to anntzer/pygments that referenced this issue Nov 24, 2019
- Detect `.m` files starting with a function definition as MATLAB, not
  ObjC (pygments#1149).
- Require word boundaries in regexes matching numbers and floats, to
  avoid mishighlighting `load 123file` as starting with a number.
birkenfeld pushed a commit that referenced this issue Nov 25, 2019
- Detect `.m` files starting with a function definition as MATLAB, not
  ObjC (#1149).
- Require word boundaries in regexes matching numbers and floats, to
  avoid mishighlighting `load 123file` as starting with a number.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers T-bug type: a bug X-imported imported from Bitbucket
Projects
None yet
Development

No branches or pull requests

1 participant