eemeli/yaml

Comment `separator` parsed as `indentation`

RedCMD opened this issue · 1 comments

Describe the bug
not 100% sure if this is just a spec ambiguity
Github also doesn't like it

To Reproduce

:
	#comment??
  a: b
  #comment
  	#comment??

Expected behaviour
I would have expected the tab char to be parsed as a whitespace separator rather than treated as indentation

Versions:

  • Environment: VSCode 1.89
  • yaml: 2.4.3

Additional context
image
image

Yup, that should count as an l-comment, which is allowed to have tabs before it.