-
Notifications
You must be signed in to change notification settings - Fork 254
Open
Description
Describe the bug
YAML states if a string starts with a double quote, it then must end with one
If a schema default value starts with a double quote (and doesn't end with ending double quote)
an error is left after completion
Expected Behavior
Surround the string with single quotes and escape any existing single quotes
OR
Surround the string with double quotes and escape any existing double quotes
OR
use a block-scalar |
Current Behavior
notice the lines comment:, begin: and end: (under string:) are all reporting errors

Steps to Reproduce
- assign schema https://raw.githubusercontent.com/RedCMD/TmLanguage-Syntax-Highlighter/main/vscode.tmLanguage.schema.json
- trigger the
New Grammarcompletion - 🐛Bug
Environment
- Windows
the same should also apply to all other special YAML tokens
#comments etc
I would like the schema to be compatible with both YAML and JSON
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
✅ Done