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

Tab whitespace separator incorrectly marked as invalid #604

Open
RedCMD opened this issue Feb 10, 2025 · 0 comments
Open

Tab whitespace separator incorrectly marked as invalid #604

RedCMD opened this issue Feb 10, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@RedCMD
Copy link

RedCMD commented Feb 10, 2025

Describe the bug
rule-s-l+flow-in-block has rule-s-flow-line-prefix come before rule-ns-flow-node
which allows spaces and tabs as whitespace separators after the (spaces only) indentation

notice that it works correctly if the flow-node starts on the same line as the map key.
also notice that only the first line of the flow-node is affected

To Reproduce

foo:
 	bar

Expected behaviour
For the tab whitespace-separator to not be marked as invalid

Versions

  • Environment: VSCode 1.97.0
  • yaml: 2.7.0
  • extension: v1.16.0

Additional context
Image

@RedCMD RedCMD added the bug Something isn't working label Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant