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

Comments should be highlighted as a different color #23

Open
ahmetb opened this issue Apr 10, 2024 · 0 comments
Open

Comments should be highlighted as a different color #23

ahmetb opened this issue Apr 10, 2024 · 0 comments

Comments

@ahmetb
Copy link

ahmetb commented Apr 10, 2024

It's a bit odd that comments don't have a different color. Oddly enough, the code is there to make it happen but it's not working

yh/highlight/highlight.go

Lines 114 to 116 in df5758b

func comment(l yamlLine) string {
return fmt.Sprintf("%v %v\n", Gray(13, l.key), Gray(13, l.value))
}

If there's any interest in accepting a patch for this, appreciate your replies on this issue.

image
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