To open a yaml file with the example content, the value:
seems to be highlighted:
some_key: value:value some_list: - value:value
To not highlight values containing colons.
9.1
OS: Manjaro Linux
Terminal: Konsole 24.05.1
Shell: bash 5.2.26
No response
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.
Unfortunately, the Yaml syntax file is currently unmaintained and uses hardly to ready black magic regexes, so I cannot guess how to fix this.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.
As I understand it was recently updated, not sure if the bug is introduced with this commit: cc7597c
I just took previous version of the syntax file as a workaround for now. I agree it is pretty hard to understand how it works.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.
ah, so it comes from #14354 ping @itchyny perhaps he has an idea
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.
I'll take a look this weekend.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.
Just one more note, as I presume we can miss it while fixing this issue. As I understand the keys also can contain colons, so it might be worth to check this case against possible changes in the syntax file as well e.g.
aws:cdk:path: some/path
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.
Closed #15196 as completed via aa49512.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.