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

Underscores mess up code highlighting #21

Open
Michael-Geuenich opened this issue Feb 23, 2022 · 1 comment
Open

Underscores mess up code highlighting #21

Michael-Geuenich opened this issue Feb 23, 2022 · 1 comment

Comments

@Michael-Geuenich
Copy link

Thanks for providing this package, I mainly use it to highlight my Rmarkdown code properly.

Unfortunately, it seems that the extension does not handle underscores well when they are in unquoted variable names in my Rmarkdown file (see image below).

Screen Shot 2022-02-23 at 1 15 18 PM

When I have the extension enabled this is also an issue for any other scripts. For example, my python scripts then start looking like this whenever there is an underscore, which can become quite distracting.

Screen Shot 2022-02-23 at 1 18 02 PM

@stibu81
Copy link

stibu81 commented Nov 20, 2023

This also affects syntax highlighting in ordinary Python files, where no RMarkdown is involved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants