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

fix(dns): highlight domain names as NameClass #886

Merged
merged 1 commit into from Nov 18, 2023
Merged

fix(dns): highlight domain names as NameClass #886

merged 1 commit into from Nov 18, 2023

Conversation

tarneaux
Copy link
Contributor

This commit fixes #885.
Before this commit, only the first part (before the first dot) of a domain name was highlighted as NameClass``, which made the rest highlight in err (red). This commit makes domain names anywhere in the line highlight as NameClass, still allowing @ at the start of a line to be highlighted just as before.

This commit fixes #885.
Before this commit, only the first part (before the first dot) of a
domain name was highlighted as NameClass``, which made the rest
highlight in `err` (red). This commit makes domain names anywhere in the
line highlight as NameClass, still allowing @ at the start of a line to
be highlighted just as before.
@alecthomas alecthomas merged commit b5afdee into alecthomas:master Nov 18, 2023
2 checks passed
@alecthomas
Copy link
Owner

Thanks!

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

Successfully merging this pull request may close these issues.

DNS / BIND9 Zone files are wrongly highlighted (err class)
2 participants