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

Incorrect highlighting of comments in Yaml blocks #106

Open
jamescherti opened this issue Mar 29, 2023 · 0 comments
Open

Incorrect highlighting of comments in Yaml blocks #106

jamescherti opened this issue Mar 29, 2023 · 0 comments

Comments

@jamescherti
Copy link

Issue

Strings that start with the pound character (#) are not properly highlighted when they are part of a YAML block created using either (|) or (>):
image
(Screenshot: yaml-mode / Emacs)

This bug can make it difficult for users to distinguish between comments that are part of a block and those that are not.

Expected result

It is expected that all strings within a YAML block should be uniformly highlighted, regardless of whether they begin with the pound (#) character or not:
image
(Screenshot from another editor)

Environment

  • Emacs version: 28.2-r6
  • Yaml-mode version: master branch, commit ref b153150 (March 29, 2023)
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