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

Bash partially highlights IP address #305

Closed
exploide opened this issue Nov 22, 2019 · 0 comments
Closed

Bash partially highlights IP address #305

exploide opened this issue Nov 22, 2019 · 0 comments

Comments

@exploide
Copy link
Contributor

Describe the bug

When highlighting Bash code, the first octet of an IPv4 address is colored (like a number). The last three octets are not highlighted. This looks a bit odd. When highlighting the code in Fish syntax, it is not colored, so I assume it's an issue with the bash lexer parsing literal numbers.

To Reproduce

Just try the following on the Chroma playground. Language Bash, Style monokai.

ping 192.0.2.1
mrsdizzie pushed a commit to mrsdizzie/chroma that referenced this issue Jul 15, 2020
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

1 participant